Skip to main content
CVE-2026-141554VulnerabilityPublished

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

Affects ag2Source GCVE Database

0
Compare
Authoritative record:CVE-2026-141554· Low 3.1

Not known to be exploited · CVSS 3.1 Low : upgrade to 1.3.4 when convenient.

Data as of 3 Dec 2026, 00:05 UTC

CVSS 3.1 base score
3.1Low
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (GitHub_M)CVSS 3.13.1
Patch
Available – fixed in 1.3.4
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade ag2 to 1.3.4.

Affected software

ProductAffectedFixed in
PyPIag2Affected
  • >=0.13.3 <1.3.4
Fixed in
  • 1.3.4
PyPIautogenAffected
  • >=0.13.3 <=0.14.1
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A fix is available in ag2 version 1.3.4 that addresses this issue. Operators should upgrade to version 1.3.4 or later to ensure ignore patterns are respected even with recursive grep and diff commands in readonly mode. Until patched, operators should avoid relying solely on ignore patterns with readonly mode to protect sensitive files from recursive command access. The vendor documentation notes this limitation and recommends isolated backends for programs that open paths internally.

Description

AG2 SandboxShellTool with readonly mode and ignore patterns intended to hide sensitive files does not prevent recursive grep or diff commands from reading those files. While direct access to ignored files is denied, recursive search commands bypass ignore checks and expose file contents. This affects ag2 versions 1.3.1 and 1.3.2, with a fix available in 1.3.4. The impact is limited to scenarios where an attacker can inject commands and receive output, which is not provided by the readonly shell tool itself.

References

Community reviews

Loading reviews…