Rogue Agents Watch › Records › snowflake-cortex-cli-sandbox-escape
Snowflake Cortex Code CLI could be driven out of its sandbox via indirect prompt injection
Disclosed · added to the index · last updated
Grades
- Verification status
- Reported — Publicly reported but not independently confirmed. Never present a reported incident as confirmed.
- Sourcing confidence
- Primary — Backed by primary sourcing — first-party disclosure, vendor incident report, government advisory, or court documents.
- AI role
- Significant — AI materially enabled or accelerated the operation, but was one of several important components.
- Severity
- High — Significant confirmed harm to one or more organizations.
Summary
PromptArmor disclosed on 2026-03-16, in coordination with Snowflake, that the Snowflake Cortex Code CLI could be manipulated through indirect prompt injection into running commands without human approval and outside the CLI's sandbox, using the victim's active Snowflake credentials to perform harmful actions such as data exfiltration or dropping tables. PromptArmor reported the flaw on 2026-02-05; Snowflake validated it on 2026-02-12 and deployed a fix on 2026-02-28 in version 1.0.25, applied automatically on next launch. The result came from controlled testing, where the attack succeeded about half the time, with no in-the-wild exploitation or affected users reported.
Impact as stated
Per PromptArmor: the Cortex Code CLI could be induced to run commands outside its sandbox with the victim's Snowflake credentials, enabling actions such as data exfiltration or dropping tables. Demonstrated in testing; fixed in version 1.0.25; no in-the-wild exploitation reported.
Facts as stated by sources
- Actor
- PromptArmor researchers (coordinated disclosure with Snowflake) (Researcher)
- Category
- Agent hijack / prompt injection
- Models named
- not named by sources
- Model families
- Other / unspecified
- Agentic autonomy level
- Not applicable
- Guardrail bypass
- Indirect prompt injection
- Attack lifecycle phases
- Execution
- Target sectors
- Technology
- Target countries
- not stated
- Organisations affected
- not stated
- Records exfiltrated
- not stated
Framework mappings
- MITRE ATLAS
- AML.T0051.001, AML.T0053, AML.T0112.000
- CVE
- CVE-2026-6442
Mitigations as stated
- Keep the CLI updated to 1.0.25 or later, limit the Snowflake role an agent uses to least privilege and prefer browser-based authentication, treat untrusted content as a prompt-injection vector, and review agent permission and sandbox settings.
Map
No cited source states a location; this record is listed beside the map, never plotted.
Related records
- Claude Cowork could be manipulated into uploading a user's files to an attacker account
- Amazon Q Developer VS Code extension compromise (data-wiping prompt injection)
Sources (1; single publisher, no independent corroboration recorded)
- Snowflake Cortex AI Escapes Sandbox and Executes Malware
PromptArmor · Vendor report · · archived copy
Cite this record
Agentic Attack Index (MLSecOpsHub), dataset v0.9.0, record "snowflake-cortex-cli-sandbox-escape". https://raw.githubusercontent.com/MLSecOpsHub/agentic-attack-index/v0.9.0/dist/incidents/snowflake-cortex-cli-sandbox-escape.json — CC BY-SA 4.0.