marimo is vulnerable to Exposure of Sensitive Information
65
CVE Score
Medium
Exposure of Sensitive Information
marimo merges configuration taken from a notebook's PEP-723 inline script metadata into the running session with higher precedence than the operator's own settings. The pyproject sanitizer does not sufficiently restrict which fields a notebook may set, so a notebook author can inject a custom AI base URL. When the operator opens the crafted notebook and makes an AI request, marimo sends the request to the notebook-controlled endpoint while authenticating with the operator's configured API key, leaking that key without any cell execution. The fix tightens sanitization so untrusted notebook metadata can no longer override sensitive connection settings.
Upgrade the marimo library to the patch version.
You are affected if you are using a version that falls within the vulnerable range and you open an untrusted notebook containing PEP-723 script metadata and then make an AI request while an operator API key such as OPENAI_API_KEY is configured.
0.11.5 - 0.23.14
Fixed in 0.23.15marimo is vulnerable to Exposure of Sensitive Information in versions 0.11.5 - 0.23.14.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.