Vulnerability · Published Feb 6, 2025 · Assigned by GitHub_M

CVE-2025-23217Mitmweb API Authentication Bypass Using Proxy Server

High 8.2

In plain English

A high-severity authentication bypass in mitmproxy from mitmproxy. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.9% (higher than 59% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 4.0)8.2High
Exploit odds (30 days)0.9%top 41.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official 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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Debian:12mitmproxyno fix listedDEBIAN-CVE-2025-23217
Debian:14mitmproxy8.1.1-4DEBIAN-CVE-2025-23217
PyPImitmproxy11.1.2GHSA-wg33-5h85-7q5p
PyPImitmproxy11.1.2PYSEC-2026-1630
Ubuntu:22.04:LTSmitmproxyno fix listedUBUNTU-CVE-2025-23217
Ubuntu:24.04:LTSmitmproxyno fix listedUBUNTU-CVE-2025-23217
Ubuntu:25.10mitmproxyno fix listedUBUNTU-CVE-2025-23217
Ubuntu:26.04:LTSmitmproxyno fix listedUBUNTU-CVE-2025-23217
Ubuntu:26.10mitmproxyno fix listedUBUNTU-CVE-2025-23217

Affected products (as reported)

VendorProductVersions
mitmproxy mitmproxy < 11.1.2

Weakness: CWE-288, CWE-441 · Vector: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

References