CVE Catalog

CVE-2026-141554

LowCVSS 3.1
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.58%

49th percentile - higher than 49% of all known CVEs

Summary

In AG2 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() 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.

Risk Assessment

An agent processing malicious content may expose files that should be ignored, leading to data leakage. Disclosure to the attacker additionally requires an output channel in the deployment.

Recommendation

Update AG2 to version 1.3.4 or later. Restrict processing of attacker-controlled content by agents with sandbox access.

Other vulnerabilities in AG2

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS