{"id":"CVE-2026-141554","sourceIdentifier":"security-advisories@github.com","published":"2026-12-02T20:20:40.163","lastModified":"2026-12-02T21:18:10.940","vulnStatus":"Received","cveTags":[],"descriptions":[{"lang":"en","value":"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."}],"affected":[{"source":"security-advisories@github.com","affectedData":[{"vendor":"ag2ai","product":"ag2","versions":[{"version":">= 0.13.3, < 1.3.4","status":"affected"}]},{"vendor":"ag2ai","product":"autogen","versions":[{"version":">= 0.13.3, <= 0.14.1","status":"affected"}]}]}],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N","baseScore":3.1,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"LOW","integrityImpact":"NONE","availabilityImpact":"NONE"},"exploitabilityScore":1.6,"impactScore":1.4}],"ssvcV203":[{"source":"134c704f-9b21-4f2e-91b3-4a467353bcc0","ssvcData":{"timestamp":"2026-12-02T20:13:05.473822Z","id":"CVE-2026-141554","options":[{"exploitation":"poc"},{"automatable":"no"},{"technicalImpact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}]},"weaknesses":[{"source":"security-advisories@github.com","type":"Secondary","description":[{"lang":"en","value":"CWE-863"}]}],"references":[{"url":"https://github.com/ag2ai/ag2/commit/92e842709be3010853e9964905cd23487385e570","source":"security-advisories@github.com"},{"url":"https://github.com/ag2ai/ag2/commit/c1d943df06f0506269f9a6c7312afaf47c3c4871","source":"security-advisories@github.com"},{"url":"https://github.com/ag2ai/ag2/releases/tag/v1.3.4","source":"security-advisories@github.com"},{"url":"https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7","source":"security-advisories@github.com"},{"url":"https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7","source":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}]}