Arbitrary Code Injection Affecting org.openidentityplatform.openam:openam-oauth2 package, versions [,16.0.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (16th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGOPENIDENTITYPLATFORMOPENAM-13921747
  • published13 Nov 2025
  • disclosed12 Nov 2025
  • creditJean-Eudes Couignoux

Introduced: 12 Nov 2025

NewCVE-2025-64099  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.openidentityplatform.openam:openam-oauth2 to version 16.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the oidc-claims-extension.groovy script when the claims_parameter_supported parameter is enabled. An attacker can inject arbitrary values into claims returned in id_token or user_info by supplying a crafted JSON file in the claims parameter, potentially impersonating other users or manipulating identity data.

CVSS Base Scores

version 4.0
version 3.1