Skip to content
MediumNews

Marimo Notebook Flaw Could Run MCP Commands Before Cells Execute in Edit Mode

Published
Record updated
View JSON

Summary

Marimo fixed a high-severity code injection flaw, CVE-2026-75149, in its notebook software affecting versions prior to 0.23.15. A crafted notebook can supply an attacker-controlled MCP server command through notebook configuration, and the command runs as a local subprocess when the victim opens the notebook in edit mode, before any cell executes. The CNA record assigns CVSS v4 8.7 and CVSS v3.1 8.8, requiring user interaction.

Mitigation

Marimo has addressed the issue in version 0.23.15. Users running an affected release should move to a version outside the affected range. Marimo's PEP 723 hardening patch treats notebook metadata as attacker-controlled and passes notebook-supplied configuration through an allowlist that removes the ai, mcp, completion, secrets and server sections.