# CVE-2026-51922: agentscope v1.0.20 contains code injection in executeshellcommand (src/agentscope/tool/coding/shell.py).

- Severity: Critical 9.8 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.14%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-10-02T00:00:00.000Z
- Modified: 2026-10-06T03:17:03.040Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a

## References

- <https://github.com/agentscope-ai/agentscope/issues/1645> (exploit)
- <https://gist.github.com/Ro1ME/78910899a99e2ba702d588e477d0755f>

## Sources

- CVE List: [CVE-2026-51922](https://www.cve.org/CVERecord?id=CVE-2026-51922), CVE Terms of Use, modified 2026-10-06
- NVD: [CVE-2026-51922](https://nvd.nist.gov/vuln/detail/CVE-2026-51922), Public domain, modified 2026-10-06

---

Page: https://cve.day/CVE-2026-51922 · Whole record: https://cve.day/CVE-2026-51922.json · Rebuilt by cve.day 2026-11-25T22:59:41.989Z
