GHSA-xjv7-6w92-42r7 marimo vulnerable to proxy abuse of /mpl/{port}/
Unauthenticated proxy endpoint allows attackers to access internal local services, potentially leading to data exfiltration or remote code execution.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-xjv7-6w92-42r7?
GHSA-xjv7-6w92-42r7 is a server-side request forgery vulnerability in marimo, published on 1 Oct 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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
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. I (acepace) followed up and also created this report.
Which versions are affected by GHSA-xjv7-6w92-42r7?
2 open source packages ship an affected version, including marimo.
| Package | Affected | Fixed in |
|---|---|---|
marimo PyPI | From 0.9.20 | 0.16.4 |
marimo PyPI | From 0.9.20 | 0.16.4 |
How do I fix GHSA-xjv7-6w92-42r7?
Upgrade marimo to 0.16.4 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is GHSA-xjv7-6w92-42r7 being exploited?
There is no known exploitation of GHSA-xjv7-6w92-42r7 in the wild and no public exploit code.