CVE-2026-40606 | mitmproxy up to 12.2.1 ldap injection (GHSA-527g-3w9m-29hv)
VulDBArchived Apr 21, 2026✓ Full text saved
A vulnerability categorized as problematic has been discovered in mitmproxy up to 12.2.1 . This vulnerability affects unknown code. The manipulation results in ldap injection. This vulnerability was named CVE-2026-40606 . The attack may be performed from remote. There is no available exploit. It is advisable to upgrade the affected component.
Full text archived locally
✦ AI Summary· Claude Sonnet
VDB-358549 · CVE-2026-40606 · GHSA-527G-3W9M-29HV
MITMPROXY UP TO 12.2.1 LDAP INJECTION
HISTORYDIFFRELATEJSONXMLCTI
CVSS Meta Temp Score Current Exploit Price (≈) CTI Interest Score
5.1 $0-$5k 2.61+
Summaryinfo
A vulnerability identified as problematic has been detected in mitmproxy up to 12.2.1. This issue affects some unknown processing. This manipulation causes ldap injection. The identification of this vulnerability is CVE-2026-40606. It is possible to initiate the attack remotely. There is no exploit available. You should upgrade the affected component.
Detailsinfo
A vulnerability was found in mitmproxy up to 12.2.1. It has been declared as problematic. Affected by this vulnerability is some unknown functionality. The manipulation with an unknown input leads to a ldap injection vulnerability. The CWE definition for the vulnerability is CWE-90. The product constructs all or part of an LDAP query using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended LDAP query when it is sent to a downstream component. As an impact it is known to affect confidentiality, integrity, and availability. The summary by CVE is:
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.
The advisory is shared at github.com. This vulnerability is known as CVE-2026-40606 since 04/14/2026. The exploitation appears to be difficult. The attack can be launched remotely. The exploitation doesn't need any form of authentication. Neither technical details nor an exploit are publicly available. MITRE ATT&CK project uses the attack technique T1505 for this issue.
Upgrading to version 12.2.2 eliminates this vulnerability.
Productinfo
Type
Firewall Software
Name
mitmproxy
Version
12.2.0
12.2.1
Website
Product: https://github.com/mitmproxy/mitmproxy/
CPE 2.3info
🔒
🔒
CPE 2.2info
🔒
🔒
CVSSv4info
VulDB Vector: 🔒
VulDB Reliability: 🔍
CVSSv3info
VulDB Meta Base Score: 5.2
VulDB Meta Temp Score: 5.1
VulDB Base Score: 5.6
VulDB Temp Score: 5.4
VulDB Vector: 🔒
VulDB Reliability: 🔍
CNA Base Score: 4.8
CNA Vector (GitHub_M): 🔒
CVSSv2info
Vector Complexity Authentication Confidentiality Integrity Availability
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
Unlock Unlock Unlock Unlock Unlock Unlock
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploitinginfo
Class: Ldap injection
CWE: CWE-90 / CWE-74 / CWE-707
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
Price Prediction: 🔍
Current Price Estimation: 🔒
0-Day Unlock Unlock Unlock Unlock
Today Unlock Unlock Unlock Unlock
Threat Intelligenceinfo
Interest: 🔍
Active Actors: 🔍
Active APT Groups: 🔍
Countermeasuresinfo
Recommended: Upgrade
Status: 🔍
0-Day Time: 🔒
Upgrade: mitmproxy 12.2.2
Timelineinfo
04/14/2026 CVE reserved
04/21/2026 +7 days Advisory disclosed
04/21/2026 +0 days VulDB entry created
04/21/2026 +0 days VulDB entry last update
Sourcesinfo
Product: github.com
Advisory: GHSA-527g-3w9m-29hv
Status: Confirmed
CVE: CVE-2026-40606 (🔒)
GCVE (CVE): GCVE-0-2026-40606
GCVE (VulDB): GCVE-100-358549
Entryinfo
Created: 04/21/2026 20:53
Changes: 04/21/2026 20:53 (63)
Complete: 🔍
Cache ID: 99:947:101
Discussion
No comments yet. Languages: en.
Please log in to comment.
◂ PreviousOverviewNext ▸