4.8

CVE-2026-40606: mitmproxy LDAP Injection

CVSS: 4.8v3.1MediumAnalyzed
AliasesGHSA-527g-3w9m-29hvPYSEC-2026-92UBUNTU-CVE-2026-40606
Published 21-04-2026Last modified 22-04-2026

Vulnerability summary

CVE-2026-40606 is a medium (CVSS 4.8) LDAP Injection vulnerability in mitmproxy. EPSS estimates a 0.26% chance of exploitation in the next 30 days, higher than 16.3% of scored vulnerabilities.

Overall risk
19/100
0100
Low · default modelHow is this calculated?
CVSS score
4.8/10
010
Medium · v3.1 (CVE.org)
EPSS score
0.26%
0%100%
Low · +0.09 pp in 30 days
KEVNot listedIn no KEV catalog
RansomwareNone recordedNo known use recorded
Public exploits0No public exploits recorded

Timeline

  1. 21-04-2026
    PublishedVulnerability first disclosed.
  2. 22-04-2026
    Last modifiedVulnerability information updated.

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 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 is not enabled by default. The vulnerability has been fixed in mitmproxy 12.2.2 and above.

CVSS metrics

5 scores · 5 sources · 1 version

EPSS trend

Probability

0.26%

Chance of exploitation in the next 30 days

Percentile

16%

Versus all other CVEs

30-day change

+0.09 pp

From 0.17% on 20-09-2026

20-09-202620-10-2026
EPSS score
0.26%

Known exploited

Compare KEV catalogs

Not in any of the 3 tracked catalogs.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Debian1 product
  • mitmproxyAll versions (No fix recorded)
Mitmproxy1 product
Opensuse1 product
  • python-mitmproxy&distro=openSUSE Tumbleweed< 12.2.2-1.1
PyPI1 product
  • mitmproxy< 12.2.2
Ubuntu1 product
  • mitmproxyAll versions (No fix recorded)

5 vendors · 5 products

References

9 links