CVE-2026-39962: LDAP injection in MISP ApacheAuthenticate when using a user-controlled Apache environment variable
MISP is an open source threat intelligence and sharing platform. Prior to 2.5.36, improper neutralization of special elements in an LDAP query in ApacheAuthenticate.php allows LDAP injection via an unsanitized username value when ApacheAuthenticate.apacheEnv is configured to use a user-controlled server variable instead of REMOTEUSER (such as in certain proxy setups). An attacker able to control that value can manipulate the LDAP search filter and potentially bypass authentication constraints or cause unauthorized LDAP queries. This vulnerability is fixed in 2.5.36.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
MISPto a version that resolves this vulnerability.Fixed in 2.5.36 - Configuration
Configure ApacheAuthenticate.apacheEnv to use REMOTE_USER instead of a user-controlled server variable (do not rely on proxy-supplied or other user-controlled server variables).
MISP ApacheAuthenticate ApacheAuthenticate.apacheEnv = REMOTE_USER
Event History
Frequently Asked Questions
What is the severity of CVE-2026-39962?
CVE-2026-39962 is classified as a moderate severity vulnerability due to the potential for LDAP injection attacks.
How do I fix CVE-2026-39962?
To fix CVE-2026-39962, upgrade MISP to version 2.5.36 or later to mitigate the LDAP injection vulnerability.
What type of vulnerability is CVE-2026-39962?
CVE-2026-39962 is an LDAP injection vulnerability that can occur in the MISP ApacheAuthenticate component.
Which versions of MISP are affected by CVE-2026-39962?
CVE-2026-39962 affects MISP versions prior to 2.5.36.
How does CVE-2026-39962 exploit user-controlled input?
CVE-2026-39962 exploits user-controlled Apache environment variables to inject malicious queries into LDAP operations.