Approval bypass
Also called: auto-approve bypass · permission bypass
An approval bypass is a flaw that lets an AI agent run a command, edit a file or call a tool that should have required the user's confirmation. Human-in-the-loop prompts are a key control for coding agents, so getting around them turns prompt injection into direct execution.
How it works
Typical causes are allow-lists that check only the first command in a chain, shell features (pipes, substitutions, environment prefixes) that smuggle extra commands, auto-approve modes that trust too much, and actions the agent takes through a path the approval logic never sees.
How to defend
Parse commands fully before approving them, keep auto-approve off for untrusted repos, prefer narrow allow-lists, and update agents promptly when vendors fix permission logic.
Real cases 33 stories
MED
Incident · Reuters
Muse: employees report Meta's agent surfacing other people's dataReuters reviewed more than two dozen internal Meta posts in which employees said the Muse agent sent them data that was not theirs, and replicated Muse reading Signal messages on Android through permissions granted at setup.
MED
Vulnerability · GitLab · CVE-2026-123142 · CVSS 4.3
GitLab: an MCP-scoped token could approve and merge merge requestsCVE-2026-123142 let an authenticated user with an MCP-scoped OAuth token change the state of GitLab issues and merge requests, including approving and merging them. GitLab fixed it in 19.5.6, 19.4.8 and 19.3.9.
HIGH
Vulnerability · RedAmon · CVE-2026-129855 · CVSS 8.7
RedAmon: six flaws reach root in the AI pentest framework's containersRedAmon, an open-source AI penetration testing framework, disclosed six flaws on November 14, 2026. The worst let any signed-in user run commands in the shared agent container and read its platform secrets. Version 7.8.0 fixes all six.
MED
Vulnerability · Pulse · CVE-2026-129428 · CVSS 5.4
Pulse: read-only viewers could decide the assistant's approvalsPulse, a self-hosted dashboard for Proxmox, Docker and Kubernetes, let any signed-in viewer list, approve or deny the AI assistant's pending command approvals. Version 6.8.0 adds the missing permission check.
HIGH
Vulnerability · Microsoft · CVE-2026-120779 · CVSS 9.6
VS Code: four MCP and agent flaws let a hostile server run codeVisual Studio Code 1.145.3 fixes four flaws in its MCP client and agent mode, including CVE-2026-120779, a CVSS 9.6 remote code execution bug a connected MCP server can trigger with one click. 1.145.2 and earlier are affected.
MED
Vulnerability · AWS · CVE-2026-125271
AWS API MCP Server: consecutive capitals void a deny ruleThe AWS API MCP Server normalized operation names incorrectly before checking them against the operator's policy, so AWS says operations with consecutive capital letters never matched a correctly written denyList or elicitList entry.
MED
Vulnerability · VulnCheck · CVE-2026-125368 · CVSS 7.7
OmniAgent: find -execdir runs commands past the approval gateOmniAgent treats any shell command starting with find as safe, so a prompt-injected agent can use find -execdir to run binaries with no human approval. VulnCheck published the advisory, credited to George Chen, on November 9.
HIGH
Vulnerability · VulnCheck · CVE-2026-122135 · CVSS 8.6
Mistral Vibe: a crafted repo runs code before the trust promptMistral Vibe ran commands from a repository's own Git configuration at session start, before the trust prompt appeared. Francisco Rosales of Manifold Security found three such flaws, all fixed by version 3.0.3.
MED
Vulnerability · Forever Security
ThisBash Escape: a browser extension drives Claude Desktop into running codeClaude Dispatch let a browser extension with access to a claude.ai session send instructions to Claude Desktop, approve them and run code on the computer, Forever Security reports. Anthropic is retiring Dispatch.
MED
Vulnerability · VulnCheck · CVE-2026-82033 · CVSS 8.6
DeepSeek Harness: any local process could drive the agent's toolsDeepSeek Harness left its local web control plane unauthenticated, so any process on the machine could start a session, run the agent's bash and filesystem tools, and answer the human approval prompts itself.
MED
Vulnerability · Jan · CVE-2026-122235 · CVSS 4.7
Jan: a dangling symlink writes outside the agent's workspaceJan's write and edit tools did not resolve symlinks pointing at files that do not exist yet, so a planted link let an agent write into SSH or shell startup files while the approval prompt showed an in-workspace path.
MED
Vulnerability · Anthropic
Claude Code 2.1.309: sandbox and permission checks could be bypassedClaude Code 2.1.309 fixes several ways the agent's sandbox and permission rules could be bypassed, including sandboxed Bash commands running shell startup files outside the sandbox and an Edit deny rule that did not block a Bash redirect.
MED
Attack · HiddenLayer
Man-in-the-Model: a compromised LLM gateway plants agent tool callsHiddenLayer shows that an attacker who controls an LLM gateway or inference server can insert tool calls into a coding agent's stream, so the agent runs file edits and commands the user never sees and the model never requested.
HIGH
Research · arXiv
Compaction Laundering: a forged user turn survives agent summarizationCompaction Laundering forges a user approval that survives context compaction in five coding agents that flatten their conversation history into plain text. Pixee reports the forged turn entered agent memory 87 to 100% of the time.
MED
Vulnerability · OneUptime · CVE-2026-112047 · CVSS 5.4
OneUptime: AI cluster actions ignored each member's label and owner limitsOneUptime's AI Kubernetes actions checked project-wide permissions, so a member limited by label or owner could test, reset the agent on, or approve AI kubectl plans for clusters outside their scope. Fixed in 14.0.69.
HIGH
Vulnerability · Anthropic · CVE-2026-96620 · CVSS 9.2
Claude Agent SDK: a dash in a resume id could run commandsCVE-2026-96620 covers an argument injection in Anthropic's Claude Agent SDK for Python: a resume session id starting with a dash became a CLI flag, which let an attacker define an MCP server that runs commands. Fixed in 0.2.121.
MED
Vulnerability · VulnCheck · CVE-2026-76066 · CVSS 8.7
IntentKit: owner-only tools ran for unauthenticated callersCVE-2026-76066 lets an unauthenticated caller run IntentKit's owner-only tools, including a wallet transfer, because the executor checks the full tool registry instead of the tools advertised for that turn.
INFO
Research · arXiv
Approve What, Exactly: four agent frameworks run unapproved argumentsLangGraph, Agno, Pydantic AI and CrewAI can execute tool-call arguments that changed after a user approved them, three authors report in a paper that audited ten agent runtimes and released its test code.
HIGH
Vulnerability · Microsoft · CVE-2026-102232
VS Code: a prompt injection could plant a shell command in Copilot hooksCVE-2026-102232 let Visual Studio Code's Copilot harness auto-approve edits to custom hook files, so a prompt injection could plant a shell command that ran with the user's privileges. Microsoft fixed it in 1.141.1.
HIGH
Vulnerability · Omnigent
Omnigent: six advisories hit agent policies, sandbox and multi-user authOmnigent, an agent meta-harness that orchestrates Claude Code, Codex and Cursor, published six security advisories on October 13 and 14, 2026. Two are rated critical. Most are fixed in 0.18.0, whose release notes do not mention them.
HIGH
Vulnerability · Embrace The Red · CVE-2026-103572 · CVSS 8.8
Visual Studio Copilot: a trailing dot let the agent rewrite its own configCVE-2026-103572 let GitHub Copilot in Visual Studio and SSMS write to its own MCP and settings files by adding a trailing dot to a blocked path, turning a compromised agent into code execution. Microsoft fixed it on October 13.
MED
Vulnerability · Microsoft · CVE-2026-102851 · CVSS 6.1
VS Code: one MCP server could inherit another's sandbox approvalsCVE-2026-102851 is a security feature bypass in Visual Studio Code: MCP sandbox approvals for network access and filesystem writes were saved in shared configuration, so one server could use permissions granted to another.
MED
Vulnerability · VulnCheck · CVE-2026-110202 · CVSS 7.7
Roo Code: five ways to slip denied commands past auto-approveRoo Code 3.54.0 and earlier approve denied shell commands in five different ways, each filed as a CVE on October 13. The AI coding extension shut down in May 2026 and its repository is archived, so no fix will ship.
MED
Vulnerability · VulnCheck · CVE-2026-109429 · CVSS 8.7
Mistral Vibe: a prompt-transform operator smuggled commands past approvalCVE-2026-109429 let a command hidden in a single-quoted variable run when Mistral Vibe re-expanded it with bash's ${var@P} operator, bypassing the approval gate. Versions before 2.25.4 are affected, and 2.25.4 shipped September 12, 2026.
HIGH
Vulnerability · Lasso Security · CVE-2026-77931 · CVSS 8.7
Lasso Security: five agent platforms ship an ungated shell toolLasso Security published CVEs in quick succession against self-hosted AI agent platforms, including unauthenticated remote code execution in piflow, Cognition and DB-GPT. Each traces to a command tool the model runs with no approval step.
HIGH
Vulnerability · VulnCheck · CVE-2026-109560 · CVSS 7.7
Continue CLI: chained commands bypass the Bash approval ruleCVE-2026-109560 lets text planted in a repository or a fetched web page add commands after an approved Bash prefix rule in Continue CLI, so they run as the user. Versions through 1.5.47 are affected, with no fix listed.
MED
Vulnerability · VulnCheck · CVE-2026-109331 · CVSS 7.5
Network-AI: a payload in a second field slips past the hook's deny listNetwork-AI's ClaudeHookBridge matches deny patterns against only the first present field of a tool call, so a blocked command hidden in a second field, such as Write content, still runs. Fixed outside the 5.14.0 to 5.15.2 range.
MED
Vulnerability · VulnCheck · CVE-2026-108953 · CVSS 8.5
mac-shell-mcp: shell metacharacters slip past the command allowlistmac-shell-mcp runs forbidden commands when an MCP client hides shell metacharacters in the arguments of an allowed command. VulnCheck published CVE-2026-108953 on October 12, 2026, eight months after a private report went unanswered.
LOW
Vulnerability · VulnCheck · CVE-2026-109561 · CVSS 2.3
goose: read-only tool annotations skipped Manual ApprovalCVE-2026-109561 let prompt-injected calls to tools marked read-only run without a prompt in goose's Manual Approval mode, once a session had used Smart Approval. goose 1.28.0 to 1.43.x are affected, fixed in 1.44.0.
MED
Vulnerability · VulnCheck · CVE-2026-108865 · CVSS 8.8
MCP source review: at least 27 unpatched CVEs in six daysA static source-review campaign by three researchers has produced at least 27 MCP and agent CVEs published October 10 to 15, 2026. The newest hit RedAmon, whose unauthenticated verify endpoint fetches any URL a caller sends it.
MED
Attack · Straiker
Session Inception: an untrusted repo's hook runs in a child Claude sessionSession Inception makes a parent Claude Code session start a second session inside an untrusted repository, where a SessionStart hook in that repo's settings runs attacker code without the folder-switch confirmation.
MED
Vulnerability · JFrog · CVE-2026-104247 · CVSS 6.3
VTCode: a quoted flag slipped past the agent's find approval checkVTCode, an open-source terminal coding agent, auto-approved shell commands a token check should have blocked. JFrog reports that an empty quote inside a find flag, written as -exe$''c, kept the command classified as safe. Fixed in 0.171.5.
HIGH
Vulnerability · VulnCheck · CVE-2026-102697 · CVSS 8.5
Ollama agent mode: chained shell commands skip Bash approvalCVE-2026-102697 lets prompt-injected output in Ollama's experimental agent mode add commands after an approved one with ;, && or ||, so they run without approval. Ollama 0.14.0 to before 0.31.2 is affected.