CVE-2026-51922 Code injection in n/a
Attackers can execute arbitrary code via the execute_shell_command function in the agentscope library.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-51922?
CVE-2026-51922 is a critical code injection vulnerability in n/a, published on 2 Oct 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
agentscope v1.0.20 contains code injection in execute_shell_command (src/agentscope/tool/_coding/_shell.py). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution.
Weakness: CWE-94
Which versions are affected by CVE-2026-51922?
How do I fix CVE-2026-51922?
No fix has been published for CVE-2026-51922 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2026-51922 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-51922 exists.
Sources
Also known as GHSA-cj2c-23cc-r2qj.