AG2 SandboxShellTool: files hidden with ignore are still readable through recursive grep / diff in readonly mode
- Exploited
- Proof of concept public, per CISA
- Fix
- Fixed in 1.3.4
- Who is exposed
- Not reported
Summary
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
Upgrade to a fixed version: 1.3.4.
Check your systems with an agent
Paste this into a coding or ops agent. It checks your systems read-only and reports a table per asset.
Check whether my systems are affected by CVE-2026-141554 (AG2 SandboxShellTool: files hidden with `ignore` are still readable through recursive `grep` / `diff` in readonly mode), using the cve.now data below.
Rules: work read-only. Do not run exploit code, proof-of-concept scripts or scanners that send attack payloads, and do not change any configuration, package, image or deployment. Report findings only.
What cve.now has for CVE-2026-141554 (entry last updated 2026-12-02):
Affected:
- ag2ai ag2: from 0.13.3, fixed in 1.3.4
- ag2ai autogen: from 0.13.3, through 0.14.1
Fixed versions: 1.3.4.
Setup: unknown whether the bug needs a non-default feature or setting. Check the advisory.
CISA KEV: CVE-2026-141554 is not listed as of cve.now's last read.
This KEV status is for CVE-2026-141554 only. If you also check another CVE, look up its own KEV status; never assume it from this one.
How to check:
- Installed software: check what is actually running, not what a repo declares. Read the version from each host, container image and Kubernetes node (the binary's version output, the OS package database, image layers), and check whether the conditions above hold there. Distribution packages may carry a backported fix under an older version number; confirm against the distribution's own advisory.
Verify against the linked advisories before concluding, and cite the date you read each one:
- https://github.com/ag2ai/ag2/security/advisories/GHSA-xhqj-2fcc-8vf7
- https://github.com/ag2ai/ag2/commit/92e842709be3010853e9964905cd23487385e570
- https://github.com/ag2ai/ag2/commit/c1d943df06f0506269f9a6c7312afaf47c3c4871
- https://github.com/ag2ai/ag2/releases/tag/v1.3.4
Do not conclude an asset is unaffected unless you checked it and the evidence covers both its version and the conditions above. If you could not check something, mark it unknown and say what is missing.
Report a table with one row per asset and these columns: Asset | Version or build | Status (affected, fixed, not applicable, unknown) | Compensating controls | Exposure (internet-facing, internal, none) | Evidence | Next action.
Entry: https://cve.now/CVE-2026-141554
For follow-up questions, use the cve.now MCP server at https://mcp.cve.now/mcp (no authentication), for example execute with name cve.get and arguments {"id": "CVE-2026-141554"}.Affected versions
- ag2ai ag2From 0.13.3 · fixed in 1.3.4
- ag2ai autogenFrom 0.13.3 · through 0.14.1
cve.now Index
- Exploitation15/40CISA rates a proof of concept as public
- Exposure7/25Reachable over the network without a login · Unknown: No advisory context yet
- Reach?/20Unknown. No tracked technology or package matched
- Severity3.1/10CVSS 3.1
- No patch0/5No signal
What would change the score
- Would score about 65 if added to CISA KEV
- Would score about 60 if CISA's SSVC rates exploitation active
- Would score about 40 if advisories confirm default setups are exposed
Timeline
- CVE published
- First seen by cve.now
- CISA SSVC assessment
Exploitation: poc · Automatable: no · Technical impact: partial
- Record last updated
Evidence 6
| Kind | Source |
|---|---|
| Vendor advisory 1Establishes: Affected and fixed versions. | |
| Advisory | GitHub · ag2ai/ag2 · Advisory GHSA-xhqj-2fcc-8vf7 |
| CVE record 2Establishes: The identifier and description. | |
| Record | CVE List · CVE-2026-141554 |
| Record | NVD · CVE-2026-141554 |
| Other links 3 | |
| Repository | GitHub · ag2ai/ag2 · Commit 92e84270 |
| Repository | GitHub · ag2ai/ag2 · Commit c1d943df |
| Repository | GitHub · ag2ai/ag2 · Release v1.3.4 |
Questions about CVE-2026-141554
Is CVE-2026-141554 being exploited?
It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. CISA's SSVC assessment notes a proof of concept exists. No public exploit code is tracked.
Source: cve.now feed data
Which versions are affected by CVE-2026-141554?
ag2: from 0.13.3 before 1.3.4. autogen: from 0.13.3 through 0.14.1.
Source: cve.now feed data
How do I fix CVE-2026-141554?
Upgrade to a fixed version: 1.3.4.
Source: cve.now feed data
Related
- CVE-2026-113663AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution
- CVE-2026-108543ag2ai ag2 UserProxyAgent os.path.join path traversal
- CVE-2026-13136An incorrect authorization in the remote service of Synology MailPlus Server before 4.0.1-21663 and 4.0.1-31663 allows remote attackers to…
- CVE-2026-126924IBM AIX and PowerVM VIOS Incorrect Authorization
- CVE-2026-142322Teedy through 1.12 Authorization Bypass via share=admin Query Parameter
- CVE-2026-136955Nexus Repository 3 - Authorization Bypass of Disabled Script Execution
No corrections so far. Something wrong on this page? Report an error.