CVE-2026-75020

Apache APISIX: ldap-auth plugin cross-subtree identity impersonation

Published Aug 27, 2026 CVSS 4.0 · 7 High EPSS < 1% KEV · Not listed
Description
Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') vulnerability in Apache APISIX.

A caller who holds valid credentials for one entry in the LDAP directory can authenticate through APISIX as a consumer mapped to a different entry, one the plugin's configured scope was meant to keep out of reach.


This issue affects Apache APISIX: from 2.11.0 through 3.17.0.



Users are recommended to upgrade to version 3.18.0, which fixes the issue.

Analysis

AI-generated

Technical impact

The vulnerability arises from improper neutralisation of special elements in LDAP queries within the ldap-auth plugin of Apache APISIX. A user who has valid credentials for one LDAP entry can construct a request that causes the plugin to authenticate them as a different consumer whose identity was not intended to be reachable under the plugin's configured scope. This results in successful impersonation and unauthorized access to services protected by APISIX.

Affected Systems

Affected products are Apache APISIX users running versions from 2.11.0 through 3.17.0. The vendor is the Apache Software Foundation, and the vulnerability exists in the ldap-auth plugin. All deployments that rely on this plugin within the specified version range are susceptible.

Risk and Exploitability

The CVSS base score of 7 indicates a high severity. Because an attacker only needs a valid credential for another LDAP entry and the plugin lacks proper query sanitisation, the exploit is relatively straightforward. The EPSS score is not available, so the current exploitation probability is unknown. The vulnerability is not listed in CISA's KEV catalog, but the high CVSS and potential for credential hopping warrant immediate attention.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache APISIX to version 3.18.0 or later, which includes the fix for the LDAP injection issue.
  • If a version upgrade cannot be performed immediately, limit the ldap-auth plugin to trusted network segments and enforce least‑privilege credentials so that users cannot use valid LDAP credentials to map to unintended consumers.
  • Consider disabling or re‑configuring the ldap-auth plugin to use parameterised LDAP queries, and audit authentication logs for unexpected consumer mapping activities.

Generated by OpenCVE AI on August 27, 2026 at 10:21 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:apache:apisix:*:*:*:*:*:*:*:*
Metrics cvssV3_1

{'score': 8.1, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N'}

Type Values Removed Values Added
References
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Apache
Apache apisix
Vendors & Products Apache
Apache apisix
Type Values Removed Values Added
Description Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection') vulnerability in Apache APISIX. A caller who holds valid credentials for one entry in the LDAP directory can authenticate through APISIX as a consumer mapped to a different entry, one the plugin's configured scope was meant to keep out of reach. This issue affects Apache APISIX: from 2.11.0 through 3.17.0. Users are recommended to upgrade to version 3.18.0, which fixes the issue.
Title Apache APISIX: ldap-auth plugin cross-subtree identity impersonation
Weaknesses CWE-90
References
Metrics cvssV4_0

{'score': 7, 'vector': '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'}

Weaknesses
  • CWE-90

    Improper Neutralization of Special Elements used in an LDAP Query ('LDAP Injection')

Sources

Status
PUBLISHED
Assigner
apache
Published
Updated
Aug 27, 2026, 12:09 PM
Reserved
Aug 17, 2026, 1:31 PM
Status
Analyzed
Published
Aug 27, 2026, 10:16 AM
Modified
Aug 31, 2026, 7:00 PM