Documented Incident · INC-2026-52024 · High severity
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 dossier metadata
- Case ID
INC-2026-52024- Classification
- Incident
- Date
- Severity
- High
- Sector
- Software Development & AI Tooling
- Attack vector
- Indirect Prompt Injection
- System type
- Autonomous IDE Coding Agent Extensions
- CVE / reference
CVE-2026-52024- Reference URI
https://nvd.nist.gov/vuln/detail/CVE-2026-52024
Defensive takeaway
Never run autonomous IDE coding extensions with auto-approved shell access inside untrusted repositories; isolate repo analysis inside devcontainers.
Mapped AI security 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
Mapped defensive controls
- Enforce Access Controls for AI Agent Tools AML.M0028
- Human In-the-Loop for AI Agent Actions AML.M0029
- Segmentation of AI Agent Components AML.M0032
Source citation records
- NVD Record CVE-2026-52024: Cline Safety Check Bypass Command Execution · NIST National Vulnerability Database (NVD) ·