Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.openidentityplatform.openam/openam-core-rest
  4. ›
  5. CVE-2026-41573

CVE-2026-41573: OpenAM has LDAP Injection via `_queryId` Parameter

June 22, 2026

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.

References

  • github.com/OpenIdentityPlatform/OpenAM/releases/tag/16.1.1
  • github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-2vg8-q4c2-5cw3
  • github.com/advisories/GHSA-2vg8-q4c2-5cw3
  • github.com/advisories/GHSA-8984-9gww-h52x
  • nvd.nist.gov/vuln/detail/CVE-2026-41573

Code Behaviors & Features

Detect and mitigate CVE-2026-41573 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 16.1.1

Fixed versions

  • 16.1.1

Solution

Upgrade to version 16.1.1 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-74: Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')

Source file

maven/org.openidentityplatform.openam/openam-core-rest/CVE-2026-41573.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Tue, 23 Jun 2026 12:23:27 +0000.