Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Input neutralization, injection prevention
|
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv2 – Sep 15, 2026
LDAP injection in the Open Identity Platform OpenAM CREST REST API (openam-core-rest, versions up to and including 16.0.6) lets any user holding a valid SSO token inject LDAP filter metacharacters through the _queryId parameter on GET /openam/json/{realm}/users, because IdentityResourceV1.queryCollection() constructs a CrestQuery with the escapeQueryId flag explicitly disabled. The unsanitized value is concatenated into an LDAP search filter in DJLDAPv3Repo.getFilter(), enabling directory user enumeration and blind LDAP data extraction beyond the caller's authorization scope. Exploitation requires authentication (CVSS PR:L) and no user interaction; no public exploit code or CISA KEV listing was identified at time of analysis, and a vendor fix shipping in OpenAM 16.1.1 is available.
Earlier versions of this analysis (1)
LDAP injection in OpenAM (Open Identity Platform) versions <= 16.0.6 allows authenticated attackers to inject arbitrary LDAP metacharacters via the _queryId parameter on the CREST REST API user/group endpoints, enabling user enumeration and blind LDAP injection. The flaw stems from IdentityResourceV1.queryCollection() explicitly setting escapeQueryId=false, regressing the escape protection added for CVE-2021-29156. No public exploit identified at time of analysis, but the issue is fixed upstream in release 16.1.1.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Know when the next one hits your stack
- 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:N/PR:L/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N
Network-reachable CREST endpoint (AV:N) requires any valid SSO token (PR:L) with no user interaction; primary impact is directory disclosure (C:H), with limited integrity via filter manipulation and no DoS.
Primary rating from Vendor (https://github.com/OpenIdentityPlatform/OpenAM).
CVSS VectorVendor: https://github.com/OpenIdentityPlatform/OpenAM
Lifecycle Timeline
2DescriptionCVE.org
OpenAM (Open Identity Platform) is an open-source IAM platform providing SSO, OAuth2, SAML, and OpenID Connect capabilities. The CREST REST API layer exposes user query endpoints under /json/{realm}/users. In IdentityResourceV1.queryCollection(), the HTTP query parameter _queryId is passed to a CrestQuery object with escapeQueryId explicitly set to false, bypassing the escape protection introduced as part of the CVE-2021-29156 fix. The unescaped value flows directly to DJLDAPv3Repo.getFilter() where it is concatenated into an LDAP filter string without sanitization, enabling authenticated attackers to inject arbitrary LDAP metacharacters for user enumeration and blind LDAP injection.
Affected Endpoint
| Endpoint | Auth Required | Injection Parameter |
|---|---|---|
GET /openam/json/{realm}/users?_queryId=<INJECTION> | SSO Token | _queryId |
GET /openam/json/{realm}/groups?_queryId=<INJECTION> | SSO Token (TBD) | _queryId |
Background: CVE-2021-29156
CVE-2021-29156 was a pre-authentication LDAP injection in OpenAM's Webfinger endpoint, where user-supplied input reached DJLDAPv3Repo.getFilter() unescaped. The fix introduced the escapeQueryId flag in CrestQuery (defaulting to true) and added Filter.escapeAssertionValue() in the filter-building path:
Credit
Discovered by JD-Security SHENYI Team
Executive ViewAI
OpenAM identity management systems running version 16.0.6 or earlier are vulnerable to LDAP injection attacks via the REST API. Attackers with valid credentials can discover user accounts and extract sensitive directory information, potentially enabling further attacks against authentication and access control systems that depend on OpenAM.
Within 24 hours: Inventory all OpenAM deployments to identify instances running version 16.0.6 or earlier; restrict REST API access to essential services only. Within 7 days: Upgrade all affected OpenAM instances to version 16.1.1 or later. Within 30 days: Review authentication logs for anomalous REST API activity and verify patch deployment across all systems.
Apply vendor patch.
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
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
EUVD-2026-78366
GHSA-2vg8-q4c2-5cw3
NVD
CVE.org
EPSS
Exploit-DB