CVE-2025-23217Mitmweb API Authentication Bypass Using Proxy Server
mitmproxy is a interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers and mitmweb is a web-based interface for mitmproxy. In mitmweb 11.1.1 and below, a malicious client can use mitmweb's proxy server (bound to `*:8080` by default) to access mitmweb's internal API (bound to `127.0.0.1:8081` by default). In other words, while the cannot access the API directly, they can access the API through the proxy. An attacker may be able to escalate this SSRF-style access to remote code execution. The mitmproxy and mitmdump tools are unaffected. Only mitmweb is affected. This vulnerability has been fixed in mitmproxy 11.1.2 and above. Users are advised to upgrade. There are no known workarounds for this vulnerability.
What to do
Fixed builds are available from Debian, PyPI: see the table below for the fixed version per release.
Debian, Ubuntu have not shipped a fix for every release yet.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 26.10 | mitmproxy | Fix pending | UBUNTU-CVE-2025-23217 | |
| Ubuntu 26.04 | mitmproxy | Under investigation | UBUNTU-CVE-2025-23217 | |
| Ubuntu 25.10 | mitmproxy | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-23217 | |
| Ubuntu 24.04 | mitmproxy | Under investigation | UBUNTU-CVE-2025-23217 | |
| Ubuntu 22.04 | mitmproxy | Under investigation | UBUNTU-CVE-2025-23217 | |
| Ubuntu 20.04 | mitmproxy | Will not fix Ubuntu decided not to fix this in this release | UBUNTU-CVE-2025-23217 | |
| Ubuntu 18.04 | mitmproxy | Fix pending | UBUNTU-CVE-2025-23217 | |
| Ubuntu 16.04 | mitmproxy | Fix pending | UBUNTU-CVE-2025-23217 | |
| Debian 14 | mitmproxy | Fixed | 8.1.1-4 | DEBIAN-CVE-2025-23217 |
| Debian 12 | mitmproxy | Fix pending | DEBIAN-CVE-2025-23217 | |
| PyPI library | mitmproxy | Fixed | 11.1.2 | PYSEC-2026-1630 |
What the vendor says
As published in the CVE record by GitHub_M, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.
- mitmproxy: affected: < 11.1.2
References
- https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-wg33-5h85-7q5p
- https://en.wikipedia.org/wiki/Server-side_request_forgery
- https://github.com/mitmproxy/mitmproxy/blob/main/CHANGELOG.md#06-february-2025-mitmproxy-1112
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.