CVE Professor
/
All CVEs
CVE-2026-141554

CVE-2026-141554 — Ag2 — CWE-863

LOW CVSS 3.1 ⚡ EPSS 0.6% GitHub

### Summary `SandboxShellTool(ignore=[...])` refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. `readonly=True` allows `grep` and `diff`, and with `-r` they open every file under a directory, so `grep -r KEY .` prints the contents of `.env`, `*.key` and `secrets/**` while `cat .env` is refused. The docs cover part of this. `website/docs/user-guide/tools/local_shell.mdx:112` says: "`ignore` checks only the literal path words of the command. [...] A program that opens paths on its own (`sh -c`, `find`) is not covered; use an isolated backend for that." Both examples in that note are programs `readonly=True` does not allow. The built-in read-only list contains `grep`, `egrep`, `fgrep` and `diff` (`ag2/tools/sandbox/filter.py:25-43`), the same page recommends `grep -r --include='*.py'` in restricted mode (line 139), and `common_toolkits.mdx:346-347` introduces `ignore=["**/.env", "*.key", "secrets/**"]` as "Hide sensitive files from the agent". An operator who combines `readonly=True` with `ignore` can reasonably expect those files to stay hidden, and they don't. If you read the note at line 112 as already covering recursive `grep`, I'm fine with closing this as a documentation issue. ### Affected versions PyPI `ag2` 1.3.2 (latest, tested 2026-11-19) and 1.3.1 (tested 2026-11-15). `main` at `7a65080` has the same `filter.py`. Older releases were not checked. ### Impact The operator runs an age

### Summary `SandboxShellTool(ignore=[...])` refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. `readonly=True` allows `grep` and `diff`, and with `-r` they open every file under a directory, so `grep -r KEY .` prints the contents of `.env`, `*.key` and `secrets/**` while `cat .env` is refused. The docs cover part of this. `website/docs/user-guide/tools/local_shell.mdx:112` says: "`ignore` checks only the literal path words of the command. [...] A program that opens paths on its own (`sh -c`, `find`) is not covered; use an isolated backend for that." Both examples in that note are programs `readonly=True` does not allow. The built-in read-only list contains `grep`, `egrep`, `fgrep` and `diff` (`ag2/tools/sandbox/filter.py:25-43`), the same page recommends `grep -r --include='*.py'` in restricted mode (line 139), and `common_toolkits.mdx:346-347` introduces `ignore=["**/.env", "*.key", "secrets/**"]` as "Hide sensitive files from the agent". An operator who combines `readonly=True` with `ignore` can reasonably expect those files to stay hidden, and they don't. If you read the note at line 112 as already covering recursive `grep`, I'm fine with closing this as a documentation issue. ### Affected versions PyPI `ag2` 1.3.2 (latest, tested 2026-11-19) and 1.3.1 (tested 2026-11-15). `main` at `7a65080` has the same `filter.py`. Older releases were not checked. ### Impact The operator runs an age

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction Required UI:R
Scope Unchanged S:U
Confidentiality Low C:L
Integrity None I:N
Availability None A:N
EPSS — Exploit Prediction Scoring System
0.6%
30-day probability
In the 49. percentile of all CVEs — higher exploitation probability than most vulnerabilities.
AI Security Analysis & Remediation

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-141554
CVSS 3.1/10 · LOW · 02.12.2026
CWE: CWE-863
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:N/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: ### Summary

SandboxShellTool(ignore=[...]) refuses a command when a path written in the command matches an ignore pattern. It does not look at files a program finds by itself. readonly=True allows grep and diff, and with -r they open every file under a directory, so grep -r KEY . prints the contents of .env, .key and secrets/* while cat .env is refused.
Affected: ag2, autogen

⚡ ATTACK VECTOR
Network / Remote (AV:N) · no authentication required (PR:N) · user interaction required (UI:R).

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for ag2.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📌 Low priority — routine update sufficient.

────────────────────────────────────────
[Automated Technical Vulnerability & CVSS Vector Analysis]

Target Reconnaissance Queries (FOFA & Shodan)
CVSS Score
3.1 / 10 · CVSS LOW
Weakness Types (CWE)
Affected Products (2)
ag2 autogen
References & Advisories (4)
Related CVEs
10.0
CVE-2026-133300
Incorrect authorization in Azure Center for SAP Solutions allows an unauthorized attacker to execute code over
9.8
CVE-2026-139934
Microsoft Azure API Management contains an incorrect authorization vulnerability that allows an unauthenticate
9.4
CVE-2026-115523
Improper authorization in the legacy push-publishing endpoint and environment management actions, combined wit
9.4
CVE-2026-68548
## Summary Algernon's URL-prefix authorization gate matches its protected prefixes (`/admin`, `/repo`, `/data`
8.8
CVE-2026-145077
OpenClaw 2026.9.2 before 2026.10.33 and 2026.11.1 before 2026.11.4 contains an authorization bypass in delegat
8.7
CVE-2026-144607
Tencent WeKnora 0.3.2 through 0.9.1 contains an incorrect authorization vulnerability that allows any self-reg
8.7
CVE-2026-115992
Improper authorization in user role management (the UserAjax.updateUserRoles DWR method used by the Users tool