org.openidentityplatform.openam:openam-oauth2

CVE-2025-64099

CVE-2025-64099 is a high-severity code injection vulnerability in org.openidentityplatform.openam:openam-oauth2 (maven), affecting versions < 16.0.3. It is fixed in 16.0.3.

Key facts
CVSS score
N/A
High
Attack vector
Not available
Issuing authority
GitHub Advisory Database
Affected package
org.openidentityplatform.openam:openam-oauth2
Fixed in
16.0.3
Disclosed
2025

Summary

Summary If the "claimsparametersupported" 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 idtoken or in the userinfo. 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 "idtoken" and "userinfo" 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.

Impact

What is code injection?

Untrusted input is evaluated as executable code within the application's runtime environment. Typical impact: arbitrary code execution within the application's privilege context.

Affected versions

maven

  • org.openidentityplatform.openam:openam-oauth2 (< 16.0.3)

Security releases

  • org.openidentityplatform.openam:openam-oauth2 → 16.0.3 (maven)
Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter instead of chasing every advisory.

Kodem's Application Detection and Response identifies whether CVE-2025-64099 is reachable in your applications. Explore runtime application protection for your team.

See if CVE-2025-64099 is reachable in your applications. Get a demo

Already deployed Kodem? See CVE-2025-64099 in your environment

Remediation advice

Upgrade org.openidentityplatform.openam:openam-oauth2 to 16.0.3 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently asked questions about CVE-2025-64099

What is CVE-2025-64099?

CVE-2025-64099 is a high-severity code injection vulnerability in org.openidentityplatform.openam:openam-oauth2 (maven), affecting versions < 16.0.3. It is fixed in 16.0.3. Untrusted input is evaluated as executable code within the application's runtime environment.

Which versions of org.openidentityplatform.openam:openam-oauth2 are affected by CVE-2025-64099?

org.openidentityplatform.openam:openam-oauth2 (maven) versions < 16.0.3 is affected.

Is there a fix for CVE-2025-64099?

Yes. CVE-2025-64099 is fixed in 16.0.3. Upgrade to this version or later.

Is CVE-2025-64099 exploitable, and should I be worried?

Whether CVE-2025-64099 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo

What actually determines whether CVE-2025-64099 is exploitable, and how bad it is?

Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.

How do I fix CVE-2025-64099?

Upgrade org.openidentityplatform.openam:openam-oauth2 to 16.0.3 or later.

Stop the waste.
Protect your environment with Kodem.