{"cve":"CVE-2026-40606","nvd":{"published":"2026-04-21T18:16:52.127","modified":"2026-06-17T10:45:31.560","status":"Analyzed","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","score":4.8},"cwes":["CWE-90"],"references":["https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv"],"products":["mitmproxy:mitmproxy"],"source":"nvd","synced_at":"2026-10-19T22:30:49.762551342+00:00"},"epss":{"cve":"CVE-2026-40606","score":0.00166,"percentile":0.05857,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-527g-3w9m-29hv","url":"https://osv.dev/vulnerability/GHSA-527g-3w9m-29hv","summary":"mitmproxy has an LDAP Injection","modified":"2026-06-06T01:15:07.895536978Z","packages":[{"ecosystem":"PyPI","name":"mitmproxy","purl":"pkg:pypi/mitmproxy","ranges":["<12.2.2"],"fixed":["12.2.2"]}]},{"id":"PYSEC-2026-92","url":"https://osv.dev/vulnerability/PYSEC-2026-92","summary":"","modified":"2026-05-20T09:19:08.113032Z","packages":[{"ecosystem":"PyPI","name":"mitmproxy","purl":"pkg:pypi/mitmproxy","ranges":["<12.2.2"],"fixed":["12.2.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}