THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-2h4w-29cv-2cmv (high) — AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution

[GHSA] GHSA-2h4w-29cv-2cmv (high) — AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution

highgithub_advisoriesPublished 2026-11-10

GHSA-2h4w-29cv-2cmv Severity: high CVE: CVE-2026-113663

AG2: Newline injection in SandboxShellTool bypasses allowed=[...] and readonly=True, enabling arbitrary command execution

### Summary SandboxShellTool's restricted modes — allowed=[...] (explicit command allowlist) and readonly=True (implicit READONLY_COMMANDS allowlist) — can both be bypassed by embedding a newline character inside the com

Indicators of compromise

Original source: https://github.com/advisories/GHSA-2h4w-29cv-2cmv