CVE-2026-40606

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*

History

11 Nov 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) mitmproxy es un proxy HTTP interceptor interactivo con capacidad TLS para pentesters y desarrolladores de software y mitmweb es una interfaz web para mitmproxy. En mitmproxy 12.2.1 y versiones anteriores, la autenticación de proxy LDAP integrada no sanea correctamente el nombre de usuario al consultar el servidor LDAP. Esto permite a un cliente malicioso omitir la autenticación. Solo las instancias de mitmproxy que utilizan la opción proxyauth con LDAP se ven afectadas. Esta opción no está habilitada por defecto. La vulnerabilidad ha sido corregida en mitmproxy 12.2.2 y versiones posteriores.

24 Apr 2026, 13:33

Type Values Removed Values Added
First Time Mitmproxy
Mitmproxy mitmproxy
CPE cpe:2.3:a:mitmproxy:mitmproxy:*:*:*:*:*:*:*:*
References () https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv - () https://github.com/mitmproxy/mitmproxy/security/advisories/GHSA-527g-3w9m-29hv - Vendor Advisory

21 Apr 2026, 18:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-21 18:16

Updated : 2026-11-11 23:10


NVD link : CVE-2026-40606

Mitre link : CVE-2026-40606

CVE.ORG link : CVE-2026-40606


JSON object : View

Products Affected

mitmproxy

  • mitmproxy
CWE
CWE-90

Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')