{"affected":[{"product":"ag2","source":"CNA: GitHub_M","vendor":"ag2ai","versions":[{"status":"affected","version":">= 0.13.3, < 1.3.4"}]},{"product":"autogen","source":"CNA: GitHub_M","vendor":"ag2ai","versions":[{"status":"affected","version":">= 0.13.3, <= 0.14.1"}]}],"cveId":"CVE-2026-141554","cwes":["CWE-863"],"description":"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.","epss":null,"exploits":[{"kind":"exploit","source":"ADP: CISA-ADP","url":"https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7"}],"kev":null,"metrics":[{"score":3.1,"severity":"low","source":"CNA: GitHub_M","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","version":"3.1"}],"modifiedAt":1796242410256,"publishedAt":1796241519477,"references":[{"source":"CNA: GitHub_M","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/ag2ai/ag2/commit/92e842709be3010853e9964905cd23487385e570"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/ag2ai/ag2/commit/c1d943df06f0506269f9a6c7312afaf47c3c4871"},{"source":"CNA: GitHub_M","tags":["x_refsource_MISC"],"url":"https://github.com/ag2ai/ag2/releases/tag/v1.3.4"},{"source":"ADP: CISA-ADP","tags":["exploit"],"url":"https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7"}],"remediation":[],"revision":"ee1c3860f29c858c3cdb2229f9c43f7987616f005649ea832a41e30b596f440d","sources":[{"modifiedAt":1796242410256,"name":"CNA: GitHub_M","retrievedAt":1796243218021,"url":"https://www.cve.org/CVERecord?id=CVE-2026-141554"}],"ssvc":{"assessedAt":1796242385473,"automatable":"no","exploitation":"poc","source":"ADP: CISA-ADP","technicalImpact":"partial"},"status":"published","title":"AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode","updatedAt":1796243218021}