CVE-2026-67618
JSON

7.1high

marimo < 0.23.15 API Key Exfiltration via Malicious Notebook PEP-723 Metadata

Severity
7.1high CVSS:4.0 by VulnCheck
Exploit likelihood
0.30% (higher than 24% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
VulnCheck

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.

Affected

Product or packageVersionsReported by
marimo-team marimobefore 0.23.15CVE List

All scores

VulnCheck7.1high CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
VulnCheck6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N

Classification

CWE-345

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

marimo anterior a 0.23.15 contiene una vulnerabilidad de inyección de configuración que permite a los autores de cuadernos exfiltrar claves API del operador incrustando una base_url maliciosa en los metadatos de script en línea PEP-723, que se fusiona en la configuración de la sesión con mayor precedencia que la propia configuración del operador debido a una sanitización insuficiente en sanitize_pyproject_dict. Cuando un operador abre el cuaderno manipulado y realiza una solicitud de IA, marimo resuelve la base_url controlada por el atacante de la configuración del cuaderno mientras recurre a la variable de entorno OPENAI_API_KEY del operador para la autenticación, transmitiendo la clave API al punto final controlado por el atacante sin requerir ninguna ejecución de celda.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-67618 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-67618 changed 2026-10-23Public domain