High, CVSS 8.7MavenAmendedPublished
OpenAM has LDAP Injection via _queryId Parameter
CVE-2026-41573 · GHSA-2vg8-q4c2-5cw3
- Affected
- Maven org.openidentityplatform.openam:openam-core-rest < 16.1.1
- Fixed in
- 16.1.1· Vendor fix available
- Issue
- 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= ` | SSO Token | `_queryId` | | `GET /openam/json/{realm}/groups?_queryId= ` | SSO Token (TBD) | `_queryId` | ##…
Recommended action: Upgrade to 16.1.1 or later, then redeploy and verify.A vendor fix does not resolve your finding until you verify it in your own systems.