CVE-2026-141554
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, …
AG2 is an open-source AgentOS. From 0.13.3 until 1.3.4, SandboxShellTool configured with readonly=True and ignore can return ignored files when an allowed recursive grep, egrep, fgrep, or diff opens files inside a directory, including the implicit current directory. ShellAdapter._filter() in ag2/tools/sandbox/adapter/shell.py calls check_ignore() in ag2/tools/sandbox/filter.py, which checks paths written in the command but not files discovered by the program. An agent processing attacker-controlled content may issue such a command and expose the files in the tool result; disclosure to the attacker additionally requires an output channel in the deployment. This issue is fixed in version 1.3.4.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/ag2ai/ag2/commit/92e842709be3010853e9964905cd23487385e570
- github.com/ag2ai/ag2/commit/c1d943df06f0506269f9a6c7312afaf47c3c4871
- github.com/ag2ai/ag2/releases/tag/v1.3.4
- github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7
- nvd.nist.gov/vuln/detail/CVE-2026-141554
- github.com/advisories/GHSA-xhqj-2fcc-8vf7
- nvd.nist.gov/vuln/detail/CVE-2026-141554
- cve.org/CVERecord?id=CVE-2026-141554
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.