# CVE-2026-126240: LDAP injection in FortiAuthenticator

An LDAP injection flaw in FortiAuthenticator allows an authenticated attacker with a low-privileged account to bypass authentication and escalate privileges over the network. This attack requires no user interaction but depends on a malicious or compromised upstream Identity Provider, or an IdP configuration that permits user control over the NameID or SAML username attribute.

- Vendor: Fortinet, FortiAuthenticator
- Severity: HIGH (CVSS 3.1 8.2)
- Exploited (CISA KEV): not listed
- EPSS: 0.3% on 2026-11-23
- Public exploit: not checked
- Patch available: yes
- Vendor advisory: FG-IR-26-255, https://fortiguard.fortinet.com/psirt/FG-IR-26-255
- Published: 2026-11-11; updated: 2026-11-11
- Page: https://patchtonight.com/cve/CVE-2026-126240/

## Affected and fixed versions

| Affected | Fixed in |
| --- | --- |
| FortiAuthenticator 8.0.0 to 8.0.3 | 8.0.4 or later |
| FortiAuthenticator 6.6.0 to 6.6.10 | 6.6.11 or later |

## The vendor's description

A improper neutralization of special elements used in an ldap query ('ldap injection') vulnerability in Fortinet FortiAuthenticator 8.0.0 through 8.0.3, FortiAuthenticator 6.6.0 through 6.6.10 may allow an authenticated attacker to bypass authentication. Successful exploitation requires either a malicious/compromised upstream IdP, or an IdP configuration that allows the user to control the NameID (or the SAML attribute used as the username).

## Sources

- [Fortinet advisory](https://fortiguard.fortinet.com/psirt/FG-IR-26-255)

---

Data from PatchTonight (https://patchtonight.com), compiled from vendor advisories, CISA KEV and FIRST EPSS. Please credit PatchTonight and link to the CVE page when you use it.
