Security mailing lists by PureSourceCode

CVE-2026-141554

LOW 3.1CVSS 3.1

AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode

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.

Published
2 Dec 2026
Last modified
3 Dec 2026
Assigned by
security-advisories@github.com
NVD status
Received
Weakness
CWE-863
Also known as
GHSA-xhqj-2fcc-8vf7
Sources
NVDJSONCVE ListJSONOSV GHSA-xhqj-2fcc-8vf7JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
CVE List GitHub_M CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 LOW 3.1 CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
CVE List CISA-ADP SSVC Exploitation: poc; Automatable: no; Technical Impact: partial

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
CVE List ag2ai ag2 = >= 0.13.3, < 1.3.4
CVE List ag2ai autogen = >= 0.13.3, <= 0.14.1
OSV PyPI ag2 >= 0.13.3, < 1.3.4 1.3.4
OSV PyPI autogen >= 0.13.3, <= 0.14.1

References

History

  • 3 Dec 2026 01:06 UTC · OSV: first stored (published 2 Dec 2026)
  • 2 Dec 2026 21:25 UTC · NVD: 1 reference added
  • 2 Dec 2026 20:26 UTC · CVE List: first stored (published 2 Dec 2026)
  • 2 Dec 2026 20:26 UTC · NVD: first stored (published 2 Dec 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.