CVE-2026-113663
Description
AG2 is an open-source AgentOS. From 0.13.2 until ag2 1.1.1, and from autogen 0.13.2 to 0.14.1, SandboxShellTool configurations using allowed=[...] or readonly=True rely on ShellAdapter._filter and contains_shell_operator in ag2/tools/sandbox/filter.py and ag2/tools/sandbox/adapter/shell.py to validate a command prefix and reject selected shell syntax. The filter omits newline and carriage-return separators, while the accepted raw string is passed to sh -c, allowing an attacker-influenced agent command to execute an additional arbitrary statement. With the default LocalEnvironment backend, the injected statement runs as a host subprocess with the privileges of the agent process and can affect confidentiality, integrity, and availability. This issue is fixed in ag2 version 1.1.1.
Weakness
- CWE-78: Improper Neutralization of Special Elements used in an OS Command
- CWE-184: Incomplete List of Disallowed Inputs
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | no |
| Technical impact | total |
| Scored | 2026-11-09 |
Timeline
- 2026-11-05Published by the CNA22:53 UTC
- 2026-11-09CISA SSVC decision recorded4 days after publication
- 2026-11-10GitHub advisory published (GHSA-2h4w-29cv-2cmv)5 days after publication
Exploit and advisory records
GitHub advisory GHSA-2h4w-29cv-2cmv, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| PyPI ag2 | from 0.13.2 before 1.1.1 | 1.1.1 |
| PyPI autogen | from 0.13.2 through 0.14.1 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| ag2ai ag2 | ||
| ag2ai autogen |
References
- https://github.com/ag2ai/ag2/commit/3cd86726bb731eb11d6270f0ef9e50e42b5abb39
- https://github.com/ag2ai/ag2/releases/tag/v1.1.1
- https://github.com/ag2ai/ag2/security/advisories/GHSA-2h4w-29cv-2cmv
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-113663'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-113663'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-113663'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-113663'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).