Free and open · new CVEs checked every 20 minutesStatusRSSOpen dataContact

CVE-2026-40606: mitmproxy is a interactive TLS-capable intercepting HTTP proxy for penetration testers and software developers

23
Routine
MEDIUM 4.8REMOTEUPGRADE

CVE-2026-40606 is a medium-severity flaw (CVSS 4.8) affecting mitmproxy. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.

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 mitmproxy 12.2.1 and below, the builtin LDAP proxy authentication does not correctly sanitize the username when querying the LDAP server. This allows a malicious client to bypass authentication. Only mitmproxy instances using the proxyauth option with LDAP are affected. This option i

Why this priority

  • Remotely exploitable, no login, no user action

A fixed release or distro patch exists.

Risk facts

CVSS score4.8 (Medium)
Attack vectorNetwork (remote)
Attack complexityHigh
Privileges neededNone
User interactionNone
EPSS exploit chance0.2% (top 94%)
CISA exploited listNo
WeaknessCWE-90
Published2026-04-21
Last modified2026-06-17
Publisher (CNA): GitHub, Inc. · Vendor: mitmproxy

Share: LinkedIn · X · Reddit

Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score

Am I affected?

Timeline

mitmproxy mitmproxy UPGRADE
Affected: < 12.2.2
Fixed in: 12.2.2
Safe to downgrade to: no unaffected older release
1. Check installed version
apt-cache policy mitmproxy || rpm -q mitmproxy || mitmproxy --version
2. UPGRADE to 12.2.2 (Debian / Ubuntu)
sudo apt update && sudo apt install --only-upgrade mitmproxy
2. UPGRADE (RHEL / Amazon Linux / Fedora)
sudo dnf upgrade mitmproxy
Note
Distros often backport fixes without changing the version number. Confirm with the distro advisory or changelog.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.

Quick answers

How do I fix CVE-2026-40606?

mitmproxy: upgrade to 12.2.2. Exact commands for each OS are on this page.

Is CVE-2026-40606 being exploited?

CVE-2026-40606 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.

What does CVE-2026-40606 affect?

CVE-2026-40606 affects mitmproxy. Severity is medium (CVSS 4.8). 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 mitmproxy 12.2.1 and below, the builtin LDAP proxy authentication does not

How urgent is CVE-2026-40606?

Priority 23/100. Remotely exploitable, no login, no user action

References

← Back to latest CVEs

Get the weekly exploited-CVE digest by emailThe CVEs being attacked this week and how to fix them. No spam, unsubscribe any time.