Skip to content

Conversation

@dmadisetti
Copy link
Collaborator

📝 Summary

This PR addresses an issue in the /mpl/<port>/<route> endpoint that allowed unauthenticated access to internal services on any port.

Changes Made

  • Removed the MPL middleware proxy endpoint that indiscriminately forwarded ports
  • Replaced associated proxy routing logic as part of main server
  • Validate proxy request with figure id

See previous behavior issue in tests/_cli/test_endpoint.py

Credits

Research and disclosure by @devgi and @acepace.


Played with a couple ways of doing this, but I think this is the best. I was unable to get any surface area when playing around. Added a unit test that fails in the exploitable case

@vercel
Copy link

vercel bot commented Oct 1, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
marimo-docs Ready Ready Preview Comment Oct 1, 2025 6:21pm

mscolnick
mscolnick previously approved these changes Oct 1, 2025
@mscolnick mscolnick merged commit 0312706 into main Oct 1, 2025
29 of 41 checks passed
@mscolnick mscolnick deleted the dm/cve-fix branch October 1, 2025 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants