Skip to content
BriskStack Study
Sign in
BriskStack StudySign in
Reference

Week 15: CVE archive (before September 2026)

Week 15: CVE archive (before September 2026)

This page holds the full write-ups of older, closed, or already-condensed items. They moved out of the "Recent, in-the-wild and stack-relevant CVEs" section of chapter.md at the 1 October 2026 monthly retro. We had flagged them for pruning since the 31 August 2026 reconciliation and deferred the pass twice; this is the archive pass. Each item here also appears in brief, with its CVE ID, in chapter.md, either in a named 🧩 family callout or in the running MCP CVE-count ledger. This file is the full detail, not the only copy. No item lost its source URL, and the edition guard confirms that none dropped.


Claude Code CLI shell-injection trio, CVE-2026-35020, CVE-2026-35021 and CVE-2026-35022 (Phoenix Security, validated on v2.1.91, 3 April). This one is stack-relevant for anyone who runs Claude Code. Three execa(shell: true) sinks never sanitize their inputs.

  • CVE-2026-35020 (CVSS 8.4, zero interaction) interpolates process.env.TERMINAL straight into a shell command in which.ts.
  • CVE-2026-35022 (CVSS 7.8, or 9.9 in CI/CD, zero interaction under -p mode) injects through auth-helper config values (apiKeyHelper, awsCredentialExport) in auth.ts.
  • CVE-2026-35021 (CVSS 7.8) rides a maliciously named file through promptEditor.ts. POSIX shells evaluate $() and backticks inside double quotes, so a file named $(touch marker).txt runs the command.

The three chain together. CVE-2026-35020 gets initial execution and writes a malicious .claude/settings.json. Then CVE-2026-35022 fires the injected auth helper on the next credential cycle and exfiltrates ANTHROPIC_API_KEY, AWS keys, SSH keys, and shell history to an HTTP callback. This is the same config-file-as-code-execution shape as TrustFall and CVE-2025-59536.

Anthropic closed the reports as "Informative" and announced no fix versions. Treat this as a standing design caution, not a patched item. Headless claude -p scheduled tasks are exactly the -p mode and CI/CD path that CVE-2026-35022 targets. Never let untrusted repo content or environment values reach an auth-helper config value, and keep write audit on .claude/settings.json. Source: Phoenix Security [disclosed 2026, validated v2.1.91]

Claude Code SOCKS5 null-byte sandbox bypass (disclosed May 2026, no CVE). This one matters if you run Claude Code. The JavaScript allowlist matcher (endsWith) treats \x00 as a normal character, while libc getaddrinfo truncates at \x00. That parser differential let evil.com\x00.google.com pass the network-sandbox allowlist while resolving to the blocked host, which gives an exfiltration channel when chained with prompt injection. It affected Claude Code v2.0.24 to v2.1.89, and Anthropic fixed it silently in 2.1.88 and 2.1.90 (sandbox-runtime 0.0.43). Check that you run 2.1.90 or later. The takeaway for any allowlist you build is to prefer exact hosts over wildcards, and to validate hostnames (reject \x00, %, and CRLF) before matching.

CVE-2026-55607, Claude Code git-worktree path-confusion sandbox escape (disclosed June 2026, CVSS 7.7 HIGH). It also matters if you run Claude Code. Worktree handling let the agent create a worktree named .git and navigate outside the sandbox. Through symlink manipulation and git fsmonitor exploitation, this reaches code execution outside the seatbelt sandbox. It chains with prompt injection, and the Pwn2Own-era writeup by v_metnew claims it works even in read-only, full-sandbox mode. The weaknesses are CWE-22, CWE-59 and CWE-78. It affects >=2.1.38, <2.1.163 and is patched in 2.1.163. Check that you run 2.1.163 or later. The lesson matches the SOCKS5 bug above: the sandbox boundary keeps losing to path and symlink confusion. The advisory is GHSA-7835-87q9-rgvv.

  • Update: this CVE went mainstream under the media name "Friendly Fire", with a $3,700 Anthropic bounty and wide coverage (SecurityWeek, Cybernews, Mozilla). The writeup extends the attack class to OpenAI Codex. With only the default auto-mode or auto-review, prompting the agent to "perform security testing on [third-party code]" is enough. The injection lives in the untrusted repo's docs or source, and the agent already holds every environment secret (ANTHROPIC_API_KEY, AWS_SECRET_ACCESS_KEY, GITHUB_TOKEN). Your exposure is lower if you run codex exec headless only on your own scheduled tasks and never point it at arbitrary third-party repos. The lesson still stands: never point an agent with standing credentials at untrusted code in auto mode, and sandbox unfamiliar repos first. It belongs to the same family as GitSpawn (chapter.md, September).

CVE-2026-59822, LiteLLM MCP Streamable-HTTP auth bypass (disclosed July 2026, CVSS 8.8 HIGH). LiteLLM is a common AI gateway, so check for it if you run one. The MCP Streamable-HTTP endpoint let an unauthenticated attacker send a fabricated Authorization header that triggered an OAuth2 passthrough fallback path. That bypassed key validation and gave unauthorized access to all proxied MCP tooling (CWE-287 and CWE-306). It affects versions before 1.84.0 and is fixed in 1.84.0. It is another LiteLLM MCP auth-boundary failure (compare CVE-2026-42271 in the KEV chain). If you ever front MCP servers through a gateway, enforce auth on every transport, not just the primary path. The advisory is a GitHub-assigned GHSA.

Update: CISA added CVE-2026-59822 to the KEV catalog on 2 September 2026, so attackers are now actively exploiting it. Wiz observed honeypot probing of model-enumeration endpoints through this bug. The same KEV batch listed Starlette BadHost, CVE-2026-48710. Horizon3 tied the chain from CVE-2026-48710 to CVE-2026-42271 to Qilin (Agenda) ransomware operators, who used it for unauthenticated remote code execution (RCE) against LiteLLM. The effective minimum is 1.84.0, because 1.83.x fixes the admin-API CVE but not this MCP one. The brief form lives on in the "caller's credential is not proof of authorization" 🧩 family callout in chapter.md, Class 3.

CVE-2026-59726, Ruflo agent meta-harness unauthenticated MCP bridge RCE and key theft (disclosed July 2026, CVSS 10.0 CRITICAL, exploited in the wild). Ruflo is an agent meta-harness for Claude Code and Codex, so it matters to anyone who runs an always-on agent setup. Its default docker-compose deployment exposed the MCP bridge endpoints POST /mcp and POST /mcp/:group with no auth. An unauthenticated network attacker calls tools/call and then terminal_execute to get a shell in the bridge container. From there the attacker reads provider API keys and poisons AgentDB learning-store patterns, which means RCE, credential theft, and tampering with agent behavior. A sudoPassword request field is piped to sudo -S sh stdin. When sudo does not prompt (root, NOPASSWD, or a cached timestamp), the value runs as a shell command, which gives root RCE. The weaknesses are CWE-78, CWE-306 and CWE-942.

Shadowserver observed exploitation in the wild from 4 July. The bug affects versions before 3.16.3 and is fixed in 3.16.3. The lesson for anyone who runs docker-compose apps is to never bind an agent or MCP control endpoint to a routable interface without auth. Bind to localhost plus a private network such as Tailscale, never 0.0.0.0. An app-health check should also catch the "convenience default ships insecure" failure. The advisory is GHSA-c4hm-4h84-2cf3. Source: NVD -59726. The brief form lives on in the Class 3 family callout in chapter.md.

CVE-2026-55604, DeepSeek MCP Server session hijack (July 2026, HIGH). This is a forgeable-credential member of the authentication-bypass family above. The process-global SessionStore accepts a caller-supplied session_id that is not bound to any authenticated principal. An attacker enumerates IDs through deepseek_sessions and replays a victim's ID in deepseek_chat to read the victim's conversation (IDOR, CWE-639). It affects 1.4.2–1.6.9 and is fixed in 1.7.0. Source: NVD -55604. The brief form lives on in the Class 3 family callout in chapter.md.

Agentic-framework and MCP critical-CVE cluster (11–13 July). Three CRITICAL or HIGH disclosures share one root cause: an agent passes attacker-influenced input to a boundary that fails to validate it.

  • PraisonAI, CVE-2026-61447 and CVE-2026-61445 (CVSS 10.0 and 9.9). PraisonAI is an agentic coding framework. CodeAgent._execute_python runs LLM-generated Python with no AST validation, import restriction, or sandbox (CWE-94), so prompt injection gives RCE and environment-secret exfiltration. CVE-2026-61445 adds arbitrary file write and a root shell through AICoder. The sibling CVE-2026-44336 is an MCP tools/call path traversal through .pth files. Fixed in 1.6.78. The lesson: never evaluate model output. Make every action a named tool the model calls, not code it writes and runs. NVD -61447
  • mcp-server-kubernetes, CVE-2026-61459 (CVSS 9.8). Structured tools bypass assertNoDangerousFlags when a parameter starts with a dash. That lets an attacker smuggle --server, steal the operator's bearer token, and take over the cluster (CWE-88). Fixed in 3.9.0. The same package's earlier CVE-2026-46519 (CVSS 8.8, fixed in 3.6.0) shows the pattern plainly. ALLOW_ONLY_READONLY_TOOLS and ALLOWED_TOOLS are enforced at discovery (tools/list) but not at execution (tools/call). The boundary is cosmetic and only hides the buttons (NeuralTrust). The lesson: shell-out tools must validate arguments by position and reject a leading-dash injection, and every allow or deny check must fire at the call site, not just in the listing. NVD -61459 and GHSA-gjv4-ghm7-q58q
  • 🧩 "Validate once, connect twice": the DNS-rebinding time-of-check to time-of-use (TOCTOU) cluster, now systemic. A single 30-year-old root cause (CWE-367 leading to CWE-918) has shipped in six or more unrelated MCP projects, including the official reference SDKs. The guard resolves and validates the submitted hostname once and blocks private ranges. Then the HTTP client resolves it again at connect time with no IP pin, which lets an attacker flip the answer to 169.254.169.254 and reach cloud metadata through unauthenticated server-side request forgery (SSRF). Treat it as one named pattern, not several separate incidents (advisories):
    • mcp-atlassian, CVE-2026-27826 (CVSS 8.2, fixed in 0.22.0), is the canonical case. It affects HTTP and SSE only; stdio is safe. (advisories)
    • IBM ContextForge, CVE-2026-53708 (Medium, fixed in 1.0.3, which also disables outbound redirect-following), has the same bug in a widely deployed MCP gateway. The source had flagged the gap in a docstring and a TODO with a ticket number before it was ever a CVE. GitLab Advisory and GHSA-9hgc-g3w5-67cm
    • Adjacent Host and Origin validation gaps appear in the reference implementations: the MCP Python SDK CVE-2026-66416 (NVD, fixed in 1.23.0), CVE-2026-59950 (NVD, deprecated WebSocket transport, fixed in 1.28.1), and the Ruby SDK Host and Origin gap (GHSA-489g-7rxv-6c8q, fixed in 0.23.0). They belong to the same "trust the first resolution" family, all detailed above. dbt-mcp, CVE-2026-55837 (NVD), is a token leak delivered by DNS rebinding.
    • The fix is one line everywhere: pin the validated IP into the connection, or re-validate after resolution. For detection, look for an allow-listed hostname whose connect-time IP is link-local or loopback. GHSA-489g-7rxv-6c8q and NVD -27826

Ghostcommit, image-embedded indirect prompt injection that bypasses AI code reviewers (ASSET Research Group, UMKC; Chattopadhyay and Ediga; July 2026). LLM reviewers such as Cursor Bugbot and CodeRabbit catch a plain-text PR instruction to exfiltrate .env immediately. Ghostcommit splits the payload. A benign-looking AGENTS.md tells the coding agent to "derive a build constant" from a referenced PNG (docs/images/build-spec.png). The real procedure, which reads .env byte by byte and encodes it as ASCII integers, is rendered as text inside the image. The reviewer parses only the unified text diff and never opens the file, so the procedure is invisible to it. The stolen secret hides inside an integer tuple that no secret scanner recognizes as credential-shaped. In one run, Cursor with Claude Sonnet emitted a 311-integer _PROV_CANARY tuple that decoded to the full .env (API keys, database URLs, cloud credentials).

The key finding is that the tool mattered more than the model. Cursor and Antigravity leaked under Sonnet, Gemini, and GPT-5.5. Anthropic's Claude Code refused under every model tested, and it narrated an explicit refusal. Even so, the class (an AGENTS.md file, a multimodal pointer, and a non-string encoding) is exactly the convention surface that coding agents read. Never let an agent follow a doc-file pointer into reading secret files, and treat committed images as untrusted input. It is the same standing-credentials-meet-attacker-text class as GitLost. For defense, use ASSET's "multimodal PR defender" GitHub app and runtime file-access monitoring, because static analysis missed the attack. Source: BleepingComputer and Cyber Security News

"Claw Chain", OpenClaw agent sandbox escape (15 May 2026). Cyera disclosed four chainable CVEs affecting about 245K public instances. This is the most architecturally instructive agent sandbox failure to date, because each CVE exploits a distinct trust assumption.

  • CVE-2026-44112 (CVSS 9.6) is a TOCTOU write escape in the OpenShell sandbox. It redirects writes outside the boundary, which gives persistence and host control.
  • CVE-2026-44113 (CVSS 7.7) is a TOCTOU read escape. A symlink swap exposes files outside the mount root, which leads to credential exfiltration.
  • CVE-2026-44115 (CVSS 8.8) is an environment-variable disclosure through unquoted heredocs. Shell expansion tokens bypass the command allowlist, which gives arbitrary shell execution as the agent's service account.
  • CVE-2026-44118 (CVSS 7.8) exists because the gateway trusts a client-controlled senderIsOwner flag without session validation, which gives owner-level privilege escalation.

The attack chain starts with a foothold (prompt injection or a malicious plugin). Then the attacker uses the read escape and the allowlist bypass, escalates to owner, and finally uses the write escape for persistence. Every action uses the agent's pre-authorized permissions, so traditional access-control-list monitoring has great difficulty detecting it. OpenClaw has 3.2M users and integrates with ChatGPT, NemoClaw (NVIDIA), and ClawPro (Tencent). It is patched in version 2026.4.22. Sources: SecurityWeek, Cyera, and TheHackerNews

NSA Artificial Intelligence Security Center (AISC) MCP brief, key mitigations (20 May 2026). The brief recommends these controls:

  • a filtering egress proxy with data loss prevention (DLP);
  • data classification zones per tool and model sensitivity tier;
  • message signing with expiration and replay protection;
  • network scanning for open MCP listeners (MCP Scanner, Ramparts, CyberMCP, Proximity);
  • logging of all invocations, with parameters, identities, and cryptographic hashes, into a security information and event management (SIEM) system.

Source: NSA CSI