LDAP Injection Affecting mitmproxy package, versions *


Severity

Recommended
low

Based on Debian security rating.

Threat Intelligence

EPSS
0.17% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN12-MITMPROXY-16119123
  • published22 Apr 2026
  • disclosed21 Apr 2026

Introduced: 21 Apr 2026

CVE-2026-40606  (opens in a new tab)
CWE-90  (opens in a new tab)

How to fix?

There is no fixed version for Debian:12 mitmproxy.

NVD Description

Note: Versions mentioned in the description apply only to the upstream mitmproxy package and not the mitmproxy package as distributed by Debian. See How to fix? for Debian:12 relevant fixed versions and status.

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.