{"id":"CVE-2026-40606","aliases":["DEBIAN-CVE-2026-40606","EUVD-2026-24215","GHSA-527g-3w9m-29hv","PYSEC-2026-92","UBUNTU-CVE-2026-40606","openSUSE-SU-2026:10622-1"],"status":"published","title":"ProxyAuth Addon LDAP Injection in mitmproxy","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.","severity":{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-10","score":0.00166,"percentile":0.05929,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-90"],"published":"2026-04-14T01:08:52Z","modified":"2026-11-10T04:00:08Z","fixes":[{"ecosystem":"PyPI","package":"mitmproxy","fixed_in":["12.2.2"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:14","package":"mitmproxy","fixed_in":["8.1.1-5"],"sources":["osv"]},{"ecosystem":"openSUSE:Tumbleweed","package":"python-mitmproxy","fixed_in":["12.2.2-1.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"PyPI","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"12.2.1"},{"fixed":"12.2.2"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-2","8.1.1-3","8.1.1-4","8.1.1-5"]},{"source":"osv","ecosystem":"Debian:14","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"8.1.1-5"}]}],"versions":["0.10-1","0.10-2","0.10.1-1","0.10.1-2","0.11.3-1","0.11.3-2","0.11.3-3","0.12.1-1","0.12.1-2","0.13-1","0.15-1","0.15-2","0.18.1-1","0.18.1-2","0.18.2-1","0.18.2-2","0.18.2-3","0.18.2-4","0.18.2-5","0.18.2-6","0.6-1","0.6-2","0.6-3","0.7-1","0.8-1","0.8-2","0.9.1-1","0.9.1-2","0.9.2-1","0.9.2-2","2.0.2-1","2.0.2-2","2.0.2-3","2.0.2-4","3.0.3-1","3.0.4-1","4.0.4-1","4.0.4-2","4.0.4-3","4.0.4-4","4.0.4-5","4.0.4-6","4.0.4-6.1","5.1.1-1","5.1.1-2","5.3.0-1","5.3.0-2","5.3.0-3","6.0.2-1","6.0.2-2","8.1.1-1","8.1.1-2","8.1.1-3","8.1.1-4"]},{"source":"osv","ecosystem":"PyPI","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.2.2"}]}],"versions":["0.10","0.10.1","0.11","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13","0.14.0","0.15","0.16","0.17","0.18.1","0.18.2","0.18.3","0.8","0.8.1","0.9","0.9.1","0.9.2","1.0.0","1.0.1","1.0.2","10.0.0","10.1.0","10.1.1","10.1.2","10.1.3","10.1.4","10.1.5","10.1.6","10.2.0","10.2.1","10.2.2","10.2.3","10.2.4","10.3.0","10.3.1","10.4.0","10.4.1","10.4.2","11.0.0","11.0.1","11.0.2","11.1.0","11.1.2","11.1.3","12.0.0","12.0.1","12.1.0","12.1.1","12.1.2","12.2.0","12.2.1","2.0.0","2.0.1","2.0.2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","4.0.0","4.0.1","4.0.3","4.0.4","5.0.0","5.0.1","5.1.0","5.1.1","5.2","5.3.0","6.0.0","6.0.1","6.0.2","7.0.0","7.0.1","7.0.2","7.0.3","7.0.4","8.0.0","8.1.0","8.1.1","9.0.0","9.0.1"]},{"source":"osv","ecosystem":"PyPI","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.2.2"}]}],"versions":["0.10","0.10.1","0.11","0.11.1","0.11.2","0.11.3","0.12.0","0.12.1","0.13","0.14.0","0.15","0.16","0.17","0.18.1","0.18.2","0.18.3","0.8","0.8.1","0.9","0.9.1","0.9.2","1.0.0","1.0.1","1.0.2","10.0.0","10.1.0","10.1.1","10.1.2","10.1.3","10.1.4","10.1.5","10.1.6","10.2.0","10.2.1","10.2.2","10.2.3","10.2.4","10.3.0","10.3.1","10.4.0","10.4.1","10.4.2","11.0.0","11.0.1","11.0.2","11.1.0","11.1.2","11.1.3","12.0.0","12.0.1","12.1.0","12.1.1","12.1.2","12.2.0","12.2.1","2.0.0","2.0.1","2.0.2","3.0.0","3.0.1","3.0.2","3.0.3","3.0.4","4.0.0","4.0.1","4.0.3","4.0.4","5.0.0","5.0.1","5.1.0","5.1.1","5.2","5.3.0","6.0.0","6.0.1","6.0.2","7.0.0","7.0.1","7.0.2","7.0.3","7.0.4","8.0.0","8.1.0","8.1.1","9.0.0","9.0.1"]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["0.11.3-3","0.12.1-2","0.13-1","0.15-1"]},{"source":"osv","ecosystem":"Ubuntu:18.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.0.2-2","2.0.2-3"]},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.4-6","4.0.4-6.1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["6.0.2-1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-2"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-2","8.1.1-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-4"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.1.1-3","8.1.1-4"]},{"source":"osv","ecosystem":"openSUSE:Tumbleweed","package":"python-mitmproxy","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"12.2.2-1.1"}]}]}],"products":[{"vendor":"mitmproxy","product":"mitmproxy"}],"references":[{"url":"https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory","web","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40606","tags":["advisory"]},{"url":"https://github.com/pypa/advisory-database/tree/main/vulns/mitmproxy/PYSEC-2026-92.yaml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-527g-3w9m-29hv"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/40xxx/CVE-2026-40606.json","tags":["advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2026-40606","tags":["advisory"]},{"url":"https://github.com/mitmproxy/mitmproxy","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2026-40606","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-40606","tags":["report"]},{"url":"https://github.com/mitmproxy/mitmproxy/commit/71c9234057922bc29b9734ec408d712113d294d2","tags":["report"]},{"url":"","tags":["advisory"]},{"url":"https://www.suse.com/security/cve/CVE-2026-40606","tags":["web"]}],"sources":{"cve":[{"id":"CVE-2026-40606","title":"ProxyAuth Addon LDAP Injection in mitmproxy","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.","status":"published","published":"2026-04-21T17:43:21.041Z","modified":"2026-04-22T13:26:03.183Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"cna"}],"cwes":["CWE-90"],"updated_at":"2026-11-02T13:43:00.288193Z"}],"euvd":[{"id":"EUVD-2026-24215","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.","status":"published","published":"2026-04-21T17:43:21Z","modified":"2026-04-22T13:26:03Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T19:24:21.101387Z"}],"ghsa":[{"id":"GHSA-527g-3w9m-29hv","title":"mitmproxy has an LDAP Injection","description":"### Impact\nIn 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.\n\nOnly mitmproxy instances using the `proxyauth` option with LDAP are affected. This option is not enabled by default.\n\n### Patches\n\nThe vulnerability has been fixed in mitmproxy 12.2.2 and above.\n\n### Acknowledgements\n\nWe thank Yue (Knox) Liu (@yueyueL) for responsibly disclosing this vulnerability to the mitmproxy team.\n\n### Timeline\n\n- **2025-12-08**: Received initial report. \n- **2025-12-09**: Verified report and confirmed receipt.\n- **2026-01-02**: Informed researcher that patch will be part of the next regular patch release.\n- **2026-04-12**: Published patch release and advisory.","status":"published","published":"2026-04-14T01:08:52Z","modified":"2026-06-06T00:58:37Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-90"],"updated_at":"2026-11-02T14:40:18.682012Z"}],"nvd":[{"id":"CVE-2026-40606","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.","status":"published","published":"2026-04-21T18:16:52.127Z","modified":"2026-06-17T10:45:31.56Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-90"],"updated_at":"2026-11-02T14:12:15.493943Z"}],"osv":[{"id":"CVE-2026-40606","title":"ProxyAuth Addon LDAP Injection in mitmproxy","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.","status":"published","published":"2026-04-21T17:43:21.041Z","modified":"2026-10-28T02:31:14.170466719Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-90"],"updated_at":"2026-11-02T15:45:03.424067Z"},{"id":"DEBIAN-CVE-2026-40606","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.","status":"published","published":"2026-04-21T18:16:52.127Z","modified":"2026-11-10T04:00:08.629583237Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-10T04:22:10.004764Z"},{"id":"GHSA-527g-3w9m-29hv","title":"mitmproxy has an LDAP Injection","description":"### Impact\nIn 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.\n\nOnly mitmproxy instances using the `proxyauth` option with LDAP are affected. This option is not enabled by default.\n\n### Patches\n\nThe vulnerability has been fixed in mitmproxy 12.2.2 and above.\n\n### Acknowledgements\n\nWe thank Yue (Knox) Liu (@yueyueL) for responsibly disclosing this vulnerability to the mitmproxy team.\n\n### Timeline\n\n- **2025-12-08**: Received initial report. \n- **2025-12-09**: Verified report and confirmed receipt.\n- **2026-01-02**: Informed researcher that patch will be part of the next regular patch release.\n- **2026-04-12**: Published patch release and advisory.","status":"published","published":"2026-04-14T01:08:52Z","modified":"2026-06-06T01:15:07.895536978Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"cwes":["CWE-90"],"updated_at":"2026-11-02T15:46:37.528068Z"},{"id":"PYSEC-2026-92","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.","status":"published","published":"2026-04-21T18:16:52.127Z","modified":"2026-05-20T09:19:08.113032Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T15:52:58.117212Z"},{"id":"UBUNTU-CVE-2026-40606","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.","status":"published","published":"2026-04-21T18:16:00Z","modified":"2026-10-17T12:58:13.971540161Z","cvss":[{"version":"3.1","score":4.8,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","level":"medium"}],"updated_at":"2026-11-02T16:56:16.686388Z"},{"id":"openSUSE-SU-2026:10622-1","title":"python313-mitmproxy-12.2.2-1.1 on GA media","description":"These are all security issues fixed in the python313-mitmproxy-12.2.2-1.1 package on the GA media of openSUSE Tumbleweed.","status":"published","published":"2026-04-26T00:00:00Z","modified":"2026-04-27T08:15:21.605943Z","updated_at":"2026-11-02T16:58:38.415593Z"}]}}
