Incident report
Cline Extension Safety-Check Bypass Triggering Shell Execution from Cloned Repos
CVE-2026-52024 (published June 17, 2026 alongside companion CVE-2026-52025) exposed a safety-check bypass in the Cline AI coding extension where crafted repository files combined with routine prompts coerced the agent into running attacker-controlled shell commands. Weak separation between untrusted repository content and command-approval policy checks enabled malicious payloads to execute under the developer's OS privileges. Teams using autonomous IDE extensions on open-source repositories faced credential theft and workstation compromise. Maintainers hardened command safety gating and isolated untrusted repo context.
Incident record
- Reported
- Severity
- High
- Vector
- Indirect Prompt Injection
- Affected system type
- Autonomous IDE Coding Agent Extensions
- Reference
CVE-2026-52024- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-52024
Defensive lesson
Never run autonomous IDE coding extensions with auto-approved shell access inside untrusted repositories; isolate repo analysis inside devcontainers.
Referenced techniques
- Command and Scripting Interpreter AML.T0050
- LLM Prompt Injection: Indirect AML.T0051.001
- AI Agent Tool Invocation AML.T0053
- Machine Compromise: Local AI Agent AML.T0112.000