GHSA-xjv7-6w92-42r7: Marimo Marimo Vulnerable To Proxy Abuse Vulnerability

MODERATE
CWE-441
Published
Advisory Summary

GHSA-xjv7-6w92-42r7 is a MODERATE marimo vulnerable to proxy abuse vulnerability (CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')) affecting Marimo libraries in the PyPI ecosystem. The issue involves marimo vulnerable to proxy abuse of /mpl/{port}/. Remediation is available by upgrading affected packages to version 0.16.4.

GHSA-xjv7-6w92-42r7 at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-xjv7-6w92-42r7
Severity MODERATE
CVSS v3.1 Base Score N/A
CWE Classification CWE-441: Unintended Proxy or Intermediary ('Confused Deputy')
Affected Product Marimo
Package Ecosystem PyPI
Published Date
Last Updated

How to Fix GHSA-xjv7-6w92-42r7

To remediate this vulnerability, upgrade all affected Marimo dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

marimo fixed: 0.16.4
pip install marimo>=0.16.4
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

pip show marimo

How to Check if You Are Affected

To determine whether your Python environment is affected by GHSA-xjv7-6w92-42r7, inspect your installed packages using pip:

pip show marimo

Analyze the terminal output to locate any version of Marimo in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.16.4), your application is affected.

Note: The pip show marimo command checks currently installed packages in your active Python environment.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy'), where the product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. this causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor. In Marimo, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary The `/mpl/<port>/<route>` endpoint, which is accessible without authentication on default Marimo installations allows for external attackers to reach internal services and arbitrary ports. ### Details From our understanding, this route is used internally to provide access to interactive matplotlib visualizations. [marimo/marimo/_server/main.py at main · marimo-team/marimo](https://github.com/marimo-team/marimo/blob/main/marimo/_server/main.py) This endpoint functions as an unauthenticated proxy, allowing an attacker to connect to any service running on the local machine via the specified `<port>` and `<route>`. The existence of this proxy is visible in the application's code (marimo/_server/main.py), but there's no official documentation or warning about its behavior or potential risks. ### Impact CWE-441: Proxying Without Authentication This vulnerability, as it can be used to bypass firewalls and access internal services that are intended to be local-only. The level of impact depends entirely on what services are running and accessible on the local machine. Full Local Access: An attacker can use this proxy to connect to local services that answer to web sockets, HTTP or ASGI protocol, effectively gaining a foothold on the machine. Depending on the service, this can lead to remote code execution, data exfiltration, or further network penetration. Exposure of Sensitive Services: Our scans of public-facing Marimo servers have shown that many are exposing sensitive internal services, including: Old CUPS Servers: Could allow an attacker to view print jobs or configuration or depending on old vulnerabilities, allow RCE. phpMyAdmin: Provides a web interface to a MySQL database, potentially exposing sensitive data. RPCMapper: Can be used for network reconnaissance and enumerating services. While you’d hope people wouldn’t expose marimo instances to the internet, we found numerous public Marimo instances using tools like Shodan. Many of these servers, some even hosted on cloud platforms like AWS GovCloud, were found to be vulnerable. This means the vulnerability isn't limited to a few isolated cases but is a widespread issue affecting production environments. === Notes, this was discovered by [devgi](https://github.com/devgi). I ([acepace](https://github.com/acepace)) followed up and also created this report.

GHSA-xjv7-6w92-42r7 Affected Marimo Versions

1 component(s)
Fixed Versions:
0.16.4
Product / Package Ecosystem Affected Versions Fixed Version
marimo
PyPI
≥ 0.9.20
< 0.16.4
0.16.4

References

Frequently Asked Questions

What is GHSA-xjv7-6w92-42r7?
GHSA-xjv7-6w92-42r7 is a security vulnerability in Marimo involving marimo vulnerable to proxy abuse of /mpl/{port}/ under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy').
Which Marimo versions are affected?
Affected versions include releases prior to 0.16.4 across affected packages: marimo.
What version fixes GHSA-xjv7-6w92-42r7?
Upgrading to 0.16.4 (or the latest patched release for your respective branch) resolves the vulnerability.
Is marimo affected?
Yes, marimo is affected in releases prior to 0.16.4. Upgrade your dependency to 0.16.4 or later.
What CWE is associated with GHSA-xjv7-6w92-42r7?
GHSA-xjv7-6w92-42r7 is classified under CWE-441: Unintended Proxy or Intermediary ('Confused Deputy') (The product receives a request, message, or directive from an upstream component, but the product does not sufficiently preserve the original source of the request before forwarding the request to an external actor that is outside of the product's control sphere. This causes the product to appear to be the source of the request, leading it to act as a proxy or other intermediary between the upstream component and the external actor.).
How can I check PyPI dependencies for GHSA-xjv7-6w92-42r7?
Run the dependency tree command: 'pip show marimo'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-xjv7-6w92-42r7",
  "modified" : "2025-11-20T17:20:23Z",
  "published" : "2025-10-01T21:20:11Z",
  "aliases" : [ ],
  "summary" : "marimo vulnerable to proxy abuse of /mpl/{port}/",
  "details" : "### Summary\nThe  `/mpl/<port>/<route>` endpoint, which is accessible without authentication on default Marimo installations allows for external attackers to reach internal services and arbitrary ports. \n\n### Details\nFrom our understanding, this route is used internally to provide access to interactive matplotlib visualizations.\n[marimo/marimo/_server/main.py at main · marimo-team/marimo](https://github.com/marimo-team/marimo/blob/main/marimo/_server/main.py) \nThis endpoint functions as an unauthenticated proxy, allowing an attacker to connect to any service running on the local machine via the specified `<port>` and `<route>`.\n\nThe existence of this proxy is visible in the application's code (marimo/_server/main.py), but there's no official documentation or warning about its behavior or potential risks.\n\n\n### Impact\nCWE-441: Proxying Without Authentication\n\nThis vulnerability, as it can be used to bypass firewalls and access internal services that are intended to be local-only. The level of impact depends entirely on what services are running and accessible on the local machine.\n\nFull Local Access: An attacker can use this proxy to connect to local services that answer to web sockets, HTTP or ASGI protocol, effectively gaining a foothold on the machine. Depending on the service, this can lead to remote code execution, data exfiltration, or further network penetration.\n\nExposure of Sensitive Services: Our scans of public-facing Marimo servers have shown that many are exposing sensitive internal services, including:\n\nOld CUPS Servers: Could allow an attacker to view print jobs or configuration or depending on old vulnerabilities, allow RCE.\n\nphpMyAdmin: Provides a web interface to a MySQL database, potentially exposing sensitive data.\n\nRPCMapper: Can be used for network reconnaissance and enumerating services.\n\nWhile you’d hope people wouldn’t expose marimo instances to the internet, we found numerous public Marimo instances using tools like Shodan. Many of these servers, some even hosted on cloud platforms like AWS GovCloud, were found to be vulnerable. This means the vulnerability isn't limited to a few isolated cases but is a widespread issue affecting production environments.\n\n===\n\nNotes, this was discovered by [devgi](https://github.com/devgi). I ([acepace](https://github.com/acepace)) followed up and also created this report.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "PyPI",
      "name" : "marimo"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0.9.20"
      }, {
        "fixed" : "0.16.4"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/marimo-team/marimo/security/advisories/GHSA-xjv7-6w92-42r7"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/marimo-team/marimo/commit/0312706d5e594acdb405209b2c8d87c98f46b22b"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/marimo-team/marimo"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/marimo-team/marimo/releases/tag/0.16.4"
  }, {
    "type" : "WEB",
    "url" : "https://marimo-team.notion.site/cve-proxy-without-authentication"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-441" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2025-10-01T21:20:11Z",
    "nvd_published_at" : null
  }
}