GHSA-fm68-53hc-8wxg
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain low-privilege LDAP credentials
-
DeliveryIdentify APISIX route using ldap-auth plugin
-
ExploitCraft LDAP injection payload in auth request
-
ExecutionPlugin resolves injected query to target consumer entry
-
PersistAuthenticate as high-privilege APISIX consumer
-
ImpactAccess restricted upstream APIs or data
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 | Exploitation requires that the ldap-auth plugin is actively configured on at least one APISIX route or consumer - the vulnerability does not affect deployments that do not use this plugin. The attacker must possess valid credentials for at least one entry in the LDAP directory that the plugin is bound to (PR:L - low privilege, not unauthenticated). The target identity (the consumer being impersonated) must be mapped in the same LDAP directory instance that APISIX queries. Exploitation is limited to network-reachable APISIX deployments; local-only or air-gapped gateways reduce exposure. There is no requirement for user interaction, and no evidence that a non-default LDAP schema or special server configuration is required beyond the plugin itself being enabled. |
| Impact | The risk profile is driven primarily by the scope of the identity escalation: the attacker already holds valid LDAP credentials but can elevate to any APISIX consumer mapped in the directory, effectively bypassing the subtree-based access boundary the plugin enforces. No CVSS vector has been published by Apache or NVD at time of analysis, so severity must be inferred. The attack is network-reachable, requires no user interaction, and demands only low privilege (a valid LDAP credential), but attack complexity is low once the injection pattern is known, making this exploitable without sophisticated tooling. No EPSS score is available and the vulnerability is not listed in CISA KEV, suggesting no confirmed active exploitation yet. However, LDAP injection in authentication middleware is a well-understood class with abundant public technique documentation, reducing the barrier to exploitation significantly. The real-world impact depends on how tightly APISIX consumer policies are scoped: in deployments where different consumers represent different tenants or privilege tiers, exploitation could mean cross-tenant data access or privilege escalation to higher-privileged API routes. No public exploit code has been identified at time of analysis, but the low technical bar means this could change quickly after disclosure. |
| Exploit ScenarioDerived | An attacker provisioned with a low-privilege LDAP account (e.g., a service account in a restricted OU) sends a crafted authentication request to an APISIX route protected by ldap-auth, embedding LDAP metacharacters in the credential fields. The ldap-auth plugin constructs a malformed LDAP search filter that matches a different directory entry - one mapped to a high-privilege APISIX consumer with access to internal or administrative API routes - and returns a successful authentication for that impersonated identity. No public exploit code has been confirmed at time of analysis, but the LDAP injection technique is well-documented in public security literature. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Aug 26, 2026
LDAP injection in Apache APISIX's ldap-auth plugin allows a caller holding valid credentials for any LDAP directory entry to authenticate to the gateway as a different consumer - including entries outside the subtree the plugin was configured to restrict access to. Affected versions span 2.11.0 through 3.17.0, covering several years of releases. No public exploit code or active exploitation has been identified at time of analysis, but the primitive (credential-bearing lateral identity escalation at the API gateway layer) is high-value in multi-tenant or zero-trust deployments.
RemediationAI
The primary remediation is to upgrade Apache APISIX to version 3.18.0, which contains the fix per the Apache project's own recommendation in the advisory. If an immediate upgrade is not feasible, a compensating control is to disable the ldap-auth plugin entirely and substitute an alternative authentication mechanism such as the key-auth or jwt-auth plugins, though this requires consumer re-enrollment. A second compensating control is to restrict APISIX's LDAP bind credentials to a read-only account scoped to a single, flat organizational unit rather than a hierarchical subtree, reducing the cross-subtree pivot surface - note this does not fix the injection but limits the blast radius. Network-layer ACLs that limit which identities can reach the APISIX gateway's authentication endpoints may further reduce exposure. The advisory references are https://seclists.org/oss-sec/2026/q3/592 and https://apisix.apache.org.
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
Apache APISIX is an open-source, high-performance API gateway built on NGINX and etcd, commonly used for microservice and LLM traffic management. Its ldap-auth plugin delegates consumer authentication to an external LDAP directory, mapping directory entries to APISIX consumer objects. The root cause is improper neutralization of special elements in the LDAP query constructed from user-supplied credentials - classic CWE-90 (LDAP Injection). By embedding metacharacters or wildcard sequences in authentication inputs, a user who is a valid member of one LDAP subtree can manipulate the query predicate so the plugin resolves their identity to a different directory entry, one that maps to a distinct APISIX consumer with potentially different plugin chains, rate limits, upstream access, or API permissions.
Know when LDAP 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
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:N
Network-reachable via LDAP auth endpoint; low-privilege credential required; scope changes as attacker assumes a different consumer identity with distinct permissions; no availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
2Description PRE-NVD
Articles & Coverage 3
Executive ViewAI
Apache APISIX's LDAP authentication plugin (versions 2.11.0-3.17.0) contains a critical vulnerability enabling users with any valid LDAP directory credential to escalate to other identities at the API gateway layer. Organizations using APISIX in multi-tenant or zero-trust deployments face significant risk of unauthorized backend access, with no vendor patch currently available.
Restrict LDAP directory access at the bind account level to the minimum required entries; implement network segmentation to prevent lateral movement from compromised APISIX instances; deploy authentication anomaly detection and alerting; migrate affected consumers to alternative authentication mechanisms where feasible; restrict APISIX network exposure to trusted sources only.
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.
The remoting module in Jenkins before 2.32 and LTS before 2.19.3 allows remote attackers to execute arbitrary code via a
In Joomla!. Rated critical severity (CVSS 9.8), this vulnerability is remotely exploitable, no authentication required,
An issue was discovered on Accellion FTA devices before FTA_9_12_180. Rated critical severity (CVSS 9.8), this vulnerabi
Mastodon is a free, open-source social network server based on ActivityPub Mastodon allows configuration of LDAP for aut
Dolibarr 11.0.3 contains a persistent cross-site scripting vulnerability in LDAP synchronization settings that allows at
A reflected cross-site scripting (xss) vulnerability exists in the ldapUser functionality of MedDream PACS Premium 7.3.6
Authentication bypass in Apache Druid versions 0.17.0 through 35.x. Affects all versions prior to 36.0.0 when specific p
Arbitrary certificate disclosure in Apache CXF's XKMS server lets remote attackers abuse an LDAP injection flaw (CWE-90)
An issue was discovered in linqi before 1.4.0.1 on Windows. Rated critical severity (CVSS 9.8), this vulnerability is re
A vulnerability, which was classified as problematic, has been found in Jahastech NxFilter 4.3.2.5.jsp?actionFlag=test&i
An unauthenticated Apache Traffic Control Traffic Ops user can send a request with a specially-crafted username to the P
Authentication bypass in Open Identity Platform OpenAM Community Edition (through 16.0.6) lets an unauthenticated remote
EUVD-2026-66956
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB