Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate to upstream IdP
-
DeliveryInject LDAP metacharacters into SAML attribute value
-
ExploitSubmit crafted SAML assertion to Access Gateway
-
ExecutionGateway interpolates raw value into LDAP filter string
-
PersistModified filter logic executes against LDAP directory
-
ImpactExtract unauthorized directory entries or bypass authorization
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization LDAP query parameterization
MITRE ATT&CK
1 technique across 1 tactic: Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | The attacker must hold a valid SAML identity (PR:L) - authenticated to the upstream identity provider - and must be able to control or influence SAML assertion attribute values that the Okta Access Gateway subsequently uses to construct LDAP search filters. The LDAP datastore integration must be configured and active on the Access Gateway instance (this is the primary purpose of the product, so it is expected in all relevant deployments). The attack requires knowledge of which SAML attributes feed LDAP filter construction (AC:H), which may need reconnaissance or access to application configuration. Exploitation is limited to the LDAP directory scope accessible by the service account the Access Gateway uses for bind operations - broader impact depends on that account's permissions. No user interaction is required beyond the attacker's own authenticated session. |
| Impact | The CVSS 3.1 base score of 6.8 with vector AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N captures the key constraints accurately. The AC:H metric reflects that exploitation is not trivial - the attacker must understand the LDAP filter structure in use, craft attribute values that survive SAML encoding and assertion validation upstream, and have those values reach the vulnerable filter interpolation path. PR:L indicates that some degree of authenticated access is required, consistent with the attacker needing to authenticate to the SAML identity provider so that a valid assertion reaches the gateway. The C:H and I:H impact ratings are plausible: LDAP injection can expose arbitrary directory entries (confidentiality) and, in some LDAP implementations or configurations, modify directory objects (integrity). A:N is correct - this vulnerability class does not cause availability disruption. No public exploit code has been identified and this CVE is not in the CISA KEV catalog, so real-world exploitation probability is currently low-to-moderate. The primary risk population is enterprises running Okta Access Gateway with LDAP datastore integration for legacy applications - a specific but real enterprise deployment pattern. The constraint that the attacker must control SAML assertion attribute values (typically via a malicious or compromised identity provider, or by registering a SAML application that allows custom attribute injection) meaningfully limits the attack surface compared to an unauthenticated, low-complexity vector. |
| Exploit ScenarioDerived | An attacker authenticated to the upstream SAML identity provider registers or controls a SAML application and configures a custom attribute value containing LDAP special characters - for example, a department attribute set to 'finance)(uid=*)'. When the Access Gateway receives the assertion and interpolates this value into an LDAP filter such as '(department=finance)(uid=*)', the modified filter returns all directory users regardless of the intended constraint, allowing the attacker to enumerate users or bypass authorization checks. No public proof-of-concept code has been identified, but the technique is well-documented in LDAP injection literature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 09, 2026
LDAP injection in Okta Access Gateway versions before 2026.9.1 allows a network-authenticated attacker to manipulate LDAP search filter logic by supplying crafted SAML assertion attribute values. Because the Access Gateway interpolates raw SAML attribute values directly into LDAP filter strings without sanitization, an attacker controlling those values can inject LDAP metacharacters to rewrite the intended query - potentially bypassing authorization decisions or extracting sensitive directory entries. No public exploit is identified at time of analysis, but the vendor has released a fix in 2026.9.1.
RemediationAI
Upgrade Okta Access Gateway to version 2026.9.1 or later, which contains the vendor-released patch per the advisory at https://trust.okta.com/security-advisories/improper-input-sanitization-in-okta-access-gateway-ldap-datastore-filter-interpolation-cve-2026-78579. If immediate upgrading is not possible, a compensating control is to restrict the SAML attribute values that the upstream identity provider is permitted to assert - for example, by enforcing an allowlist of permitted attribute values at the IdP before they reach the Access Gateway, preventing injection of LDAP metacharacters. Additionally, audit LDAP access logs for anomalous filter patterns (e.g., wildcard overrides, unexpected disjunctions) to detect exploitation attempts. Neither workaround eliminates the underlying flaw; patching to 2026.9.1 is the only definitive fix.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Okta Access Gateway acts as a reverse proxy that bridges SAML-based identity providers to on-premises applications using LDAP datastores. When a user authenticates, the gateway receives a SAML assertion and uses attribute values from that assertion to construct LDAP search filters - for example, to look up group membership or verify attributes against an Active Directory or OpenLDAP instance. CWE-90 (Improper Neutralization of Special Elements in an LDAP Query) describes the root cause: special characters such as parentheses, asterisks, backslashes, and null bytes have semantic meaning within LDAP filter syntax (RFC 4515). Failing to escape or reject these characters before string-interpolating them into a filter allows the attacker to alter the filter's logical structure - for instance, turning a specific-attribute lookup into a wildcard match or a disjunctive condition that returns unauthorized entries. Affected versions span all Okta Access Gateway releases prior to 2026.9.1.
Know when Access Gateway gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
AV:N for SAML-over-network delivery; AC:H because attacker must know filter structure and survive assertion encoding; PR:L for IdP authentication; C:H/I:H for directory read/modify; A:N confirmed.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
2DescriptionNVD
The Okta Access Gateway does not sanitize SAML assertion attribute values before interpolating them into LDAP search filters in the LDAP datastore configuration. The raw values are substituted directly into the filter string and passed to the LDAP search operation, resulting in modification of the intended query logic.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
More in Access Gateway
View allA command injection vulnerability in the cookieDomain and relayDomain parameters of Okta Access Gateway before 2020.9.3
SQL injection in Okta Access Gateway versions prior to 2026.9.1 allows a participant in the SAML federation/authenticati
Code execution with the privileges of the management console is possible in Okta Access Gateway releases before 2026.9.1
Authenticated administrative users of Okta Access Gateway can achieve arbitrary command execution on the underlying gate
PHP code injection in Okta Access Gateway (all versions prior to 2026.9.1) allows an authenticated administrator to exec
OS command injection in Okta Access Gateway (versions prior to 2026.9.1) allows an authenticated high-privileged local u
Authorization bypass in Okta Access Gateway (all versions before 2026.9.1) allows authenticated network users to circumv
Header injection authentication bypass in Okta Access Gateway (versions prior to 2026.9.1) allows unauthenticated networ
Unspecified vulnerability in Citrix Access Gateway Standard Edition 5.0.x before 5.0.4.223524 allows remote attackers to
Path traversal in Okta Access Gateway's backup restore function (all versions prior to 2026.9.1) allows an authenticated
Nginx directive injection in Okta Access Gateway before version 2026.9.1 enables an authenticated administrator to injec
Arbitrary file write in Okta Access Gateway (all versions before 2026.9.1) allows a highly privileged authenticated atta
EUVD-2026-74177
GHSA-vx4x-6r95-wf4x
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB