CVE-2026-141554
AG2 recursive read-only shell commands could expose ignored files
ag2ai · ag2
First documented disclosure · Review checkpoint
Summary
Recursive grep or diff could return files hidden by ignore patterns.
Severity and exploitation evidence
Low · 3.1/10 · CVSS 3.1. Severity source.
Exploitation not established: The reviewed originals establish a reported weakness or controlled demonstration; malicious exploitation and victim compromise are not established. No product, model or proof of concept was executed for this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
The shell filter checked path words written in the command, but did not check files discovered during directory recursion.
Conditions required
SandboxShellTool uses readonly=True and ignore patterns, and an agent processes content that can cause an allowed recursive command.
Potential impact
Ignored file contents can enter the tool result. An attacker still needs a separate output channel to receive them.
Affected versions and configurations
ag2: >= 0.13.3, < 1.3.4; autogen: >= 0.13.3, <= 0.14.1
Fix and mitigation status
1.3.4.
Practical next steps
Upgrade and use an isolated backend for a stronger filesystem boundary.
Operating lesson
A read-only command can still traverse data that argument checks never saw.
Evidence and limits
CVE publication: 2026-12-02. The disclosure date uses the earliest explanatory public source verified in this review; database ingestion is separate. The original demonstration used a scripted model turn, not a live-model injection. A November 21 author timestamp precedes a November 22 merge-from-fork; public release/advisory evidence supports November 22, not an assumed earlier public date. CVSS 3.1 3.1 is the GitHub_M CNA assessment.
Sources
- GitHub_M CVE authority record
Primary source ·
- Original report and scope limits
Primary source ·
- Corrected release
Primary source ·