CVE-2025-23217 Details
Description
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.
A vulnerability in mitmweb versions through 11.1.1 allows a malicious client to use the proxy server to access mitmweb's internal API, which is normally restricted to localhost. This access could potentially be exploited to execute remote code. The issue does not affect the mitmproxy or mitmdump tools. The vulnerability arises because the proxy server, bound to all interfaces by default, can be used to reach the internal API, creating a server-side request forgery (SSRF) scenario. An attacker would need to be on the same local network, as connections from publicly-routable IP addresses are blocked by default.
Users are advised to upgrade to mitmproxy version 11.1.2 or later.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Feb 6, 2025CISA-ADP
Assessed Feb 6, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://en.wikipedia.org/wiki/Server-side_request_forgery | [email protected] | Not Applicable |
| https://github.com/mitmproxy/mitmproxy/blob/main/CHANGELOG.md#06-february-2025-mitmproxy-1112 | [email protected] | Source CodeVendor |
| https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-wg33-5h85-7q5p | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-288 | Authentication Bypass Using an Alternate Path or Channel | [email protected] |
| CWE-441 | Unintended Proxy or Intermediary ('Confused Deputy') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| mitmproxy | <= 11.1.1 (semver) |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 6, 2025 | New CVE Received | [email protected] |
Volerion