SecurityContext

CVE-2026-40606: mitmproxy - Authentication Bypass

  • Cve: CVE-2026-40606
  • Name: mitmproxy - Authentication Bypass
  • 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.
  • Impact: Malicious clients can bypass authentication, potentially gaining unauthorized access to the proxy.
  • Remediation: Upgrade to mitmproxy 12.2.2 or later.
  • Vulnerability type: broken_authentication
  • Vulnerability impact: broken_authentication
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.8
  • Cvss vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
  • Epss score: 0.00173
  • Epss percentile: 0.0668
  • Assignee: [email protected]
  • Published at: 2026-04-21T18:16:52Z
  • Age in days: 217
  • Modified at: 2026-11-11T23:10:00Z
  • Patch available: yes
  • References total: 1
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-40606
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-90Improper Neutralization of Special Elements used in an LDAP Query

References

UrlSourceTags
https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hvnvdVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
mitmproxy:mitmproxy< 12.2.2nonvd/v1/products/mitmproxy/mitmproxy

Projects

RepositoryLink kindsIndexedUrl
mitmproxy/mitmproxypackage, security_advisoryyes/v1/repositories/mitmproxy/mitmproxy

Index

  • Repositories: 13
  • Repositories high signal: 6
  • Packages: 1

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts