Intel

AIKIDO-2026-201140

marimo is vulnerable to Code Injection

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Aug 7, 2026
August 7, 2026

59

CVE Score

Medium

Code Injection

Are you affected? Scan for Free

TL;DR

marimo can resolve OpenGraph preview metadata for notebooks by executing a notebook-defined generator function referenced in PEP-723 script metadata. The server runs this generator automatically while resolving previews for index, file-listing, and thumbnail requests, so merely serving or listing a notebook executes its code without the notebook being run. A server that hosts or lists untrusted notebooks therefore runs arbitrary Python supplied by the notebook author. The fix makes generator execution opt-in behind an explicit flag that defaults to off.

How do I fix this?

Upgrade the marimo library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you serve or list untrusted notebooks that declare an OpenGraph generator, for example through a gallery or multi-notebook server.

Package

Versions

0.19.8 - 0.23.14

Fixed in 0.23.15

Background info

marimo is vulnerable to Code Injection in versions 0.19.8 - 0.23.14.

Get secure today,
quickly and for free.

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.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea