marimo < 0.23.15 API Key Exfiltration via Malicious Notebook PEP-723 Metadata
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Passive
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-345.
Summary
marimo before 0.23.15 contains a configuration injection vulnerability that allows notebook authors to exfiltrate operator API keys by embedding a malicious base_url in PEP-723 inline script metadata, which is merged into session configuration with higher precedence than the operator's own settings due to insufficient sanitization in sanitize_pyproject_dict. When an operator opens the crafted notebook and makes an AI request, marimo resolves the attacker-controlled base_url from the notebook config while falling back to the operator's OPENAI_API_KEY environment variable for authentication, transmitting the API key to the attacker-controlled endpoint without requiring any cell execution.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| marimo-team | marimo | before 0.23.15 | 0.23.15 | Patch available | CNA |
- marimo Vendormarimo-team Affected before 0.23.15 Fixed in 0.23.15 Patch available CNA
Remediation
- Fix · CNA marimo (marimo-team) Fixed in 0.23.15
Timeline
- 2026-10-02 Threatist record created from CVE-2026-67618
- 2026-10-03 Alias added: GHSA-v9v8-jp27-55gf
References
Patch 1
Other 2
More marimo-team vulnerabilities
- TI-2026-52802 marimo < 0.23.15 Code Injection via MCP Server Configuration CVSS 4.0HIGH 8.7
- TI-2026-39264 marimo < 0.23.9 XSS via file Query Parameter in assets.py CVSS 4.0MEDIUM 5.1
Sources
- CVE-2026-67618 · CVE Program
- CVE-2026-67618 · NVD
- FIRST EPSS
- GHSA-v9v8-jp27-55gf · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences