CVE-2025-64099 — Vulnerability in openam-oauth2 — CVE Details
OpenAM: Using arbitrary OIDC requested claims values in id_token and user_info is allowed
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.59%). Schedule for your next planned update.
Does your project use an affected org.openidentityplatform.openam:openam-oauth2 version?
Paste your pom.xml to check it for CVE-2025-64099 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
Summary
If the "claims_parameter_supported" parameter is activated, it is possible through the "oidc-claims-extension.groovy" script, to inject the value of choice into a claim contained in the id_token or in the user_info. Authorization function requests do not prevent a claims parameter containing a JSON file to be injected. This JSON file allows users to customize claims returned by the "id_token" and "user_info" files. This allows for a very wide range of vulnerabilities depending on how clients use claims. For example, if some clients rely on an email field to identify a user, users can choose to entera any email address, and therefore assume any chosen identity.
Advisory Timeline
- First published November 12, 2025 (379 days ago).
- Last revised November 15, 2025 — 2 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 16.0.3 for org.openidentityplatform.openam:openam-oauth2 -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (1)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.openidentityplatform.openam:openam-oauth2 Maven · Affected: 14.5.2, 14.5.3, 14.5.4, 14.6.1 (+31 more) | 16.0.3 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-74
- CWE-94Code InjectionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U
References
- https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-39hr-239p-fhqcWEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-64099ADVISORY
- https://github.com/OpenIdentityPlatform/OpenAM/commit/4254b34b2b8b4867f2e7fccfac73904213d48510WEB
- https://github.com/OpenIdentityPlatform/OpenAMPACKAGE
- https://github.com/OpenIdentityPlatform/OpenAM/releases/tag/16.0.3WEB
Frequently Asked Questions
- What is CVE-2025-64099?
- OpenAM: Using arbitrary OIDC requested claims values in id_token and user_info is allowed. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 9.8/10).
- How do I check if my project is affected by CVE-2025-64099?
- CVE-2025-64099 affects org.openidentityplatform.openam:openam-oauth2. It has a 0.6% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2025-64099 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Maximum impact if exploited, often with little effort or access required.
This is a below-median EPSS score — only 42.1% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-33439CRITICAL
OpenIdentityPlatform OpenAM: Pre-Authentication Remote Code Execution via `jato.clientSession` Deserialization in OpenAM
- CVE-2026-45051CRITICAL
OpenAM: Pre-auth RCE via Java Deserialization in WebAuthn Authenticator Storage
- CVE-2026-62263CRITICAL
OpenAM: WebAuthn Java deserialization RCE via ObjectInputFilter depth>1 bypass
- CVE-2026-45052CRITICAL
OpenAM Pre-auth User Profile Tampering via Anonymous SOAP Authn in Liberty IDPP/Discovery Endpoints
- CVE-2026-62379CRITICAL
OpenAM: Unauthenticated Remote Code Execution via Class.forName in AuthXMLUtils.createCustomCallback
- CVE-2026-44203HIGH
OpenAM has pre-auth Reflected XSS in OAuth2 / OIDC response_mode=form_post via state parameter (FormPostResponse.ftl)
- CVE-2026-45794HIGH
OpenAM has Unsafe Java Deserialization via SNS
- CVE-2026-45048HIGH
OpenAM Authenticated Privilege Escalation via Raw Token Disclosure Session RPC