Groovy sandbox escape enables OS command execution in OpenIdentityPlatform OpenAM

Note: This data is for reference and cybersecurity research purposes only.CyStack advises users not to use this information for unlawful purposes.

What is CVE-2026-47424?

CVE-2026-47424 is a vulnerability classified as Protection Mechanism Failure, affecting OpenAM (affected versions: < 16.1.1). This vulnerability is rated High, with a CVSS score of 7.5. Current sources do not report this vulnerability as exploited.

Overview

Original source data

Open Access Management (OpenAM) is an access management solution. Prior to 16.1.1, GroovySandboxValueFilter permits an authenticated server-side script author to escape the scripting sandbox despite the default class allow and deny lists. A user such as a sub-realm RealmAdmin who can create or edit a script in an executed context can invoke operating-system commands as the OpenAM application server account, crossing the realm-scoped administration boundary and compromising the JVM and every realm it serves. This issue is fixed in version 16.1.1.

Affected products and scope

  • The GitHub CNA advisory identifies Maven package org.openidentityplatform.openam:openam-scripting in OpenAM Community Edition versions <=16.0.6 as affected.
  • The GitHub CNA advisory identifies 16.1.1 as patched.
  • The supplied normalized record expresses a broader affected range of < 16.1.1. This does not exactly match the package-specific <=16.0.6 boundary in the advisory, so deployments in any branch or state not established by the advisory should not be assumed safe.
  • The consulted evidence does not identify a separate branch-specific fix.

Technical details

OpenIdentityPlatform OpenAM uses GroovySandboxValueFilter to control calls made within its server-side scripting sandbox. The flaw is a CWE-693 Protection Mechanism Failure: the default class allow and deny lists do not block the Groovy extension method ProcessGroovyMethods#execute, which can launch a process before the return value is filtered. The fix rejects process-launch extensions before dispatch for CharSequence, List, and String[] receivers, and also handles dispatch through invokeMethod. Exploitation requires an authenticated user who can create or edit a server-side script in an executed context, but the public evidence reviewed does not establish a specific endpoint or deployment configuration.

Exploitability

  • The flaw is network-reachable through OpenAM in a context where server-side scripts can be authored and executed, and requires authentication plus high privileges to create or edit the relevant script.
  • No separate user interaction is required. The target must provide an executed context and the attacker must have script-authoring rights.
  • A sub-realm RealmAdmin can cross the realm-scoped administration boundary and execute operating-system commands as the OpenAM application server account.
  • The supplied record does not report a public exploit and does not establish that exploitation has occurred. The absence of such a report is not evidence that exploitation has never taken place.

Technical impact

  • Successful exploitation enables operating-system command execution within the OpenAM JVM under the application server account.
  • An attacker may read, modify, or disrupt resources that the server account and JVM can access.
  • For a sub-realm RealmAdmin, the flaw breaks the boundary between administration of one realm and control over the OpenAM process, so every realm served by that JVM may be affected.
  • The flaw does not remove the initial authentication requirement: the attacker still needs an authenticated account with suitable script-authoring rights. Final impact depends on the server account's operating-system privileges and the deployment's isolation controls.

Business impact

  • A user with limited administrative authority in a sub-realm may gain command execution with the privileges of the OpenAM application server account.
  • This may expose data reachable by the JVM, permit changes to resources or configuration accessible to that account, and disrupt service.
  • The realm-scoped administration boundary may no longer contain the impact, so consequences may extend beyond the realm where the script was created.
  • Actual exposure depends on the application server account's permissions, the JVM's access to external resources, and operating-system or infrastructure isolation.

Remediation

  1. Upgrade OpenAM Community Edition to 16.1.1, the release identified as patched by the CNA advisory.
  2. Reinventory org.openidentityplatform.openam:openam-scripting after the upgrade and confirm that no affected deployment remains.
  3. Review accounts that can create or edit server-side scripts in executed contexts, especially sub-realm RealmAdmin accounts, and remove unnecessary authoring privileges.
  4. If an upgrade cannot be completed immediately, restrict script authoring and execution access in ways that reduce the stated exploitation precondition. Treat this only as temporary risk reduction, not as a replacement for the patch.
  5. The advisory provides no separate technical mitigation. Do not treat changes to the default allow or deny lists as a confirmed fix.

Detection

  1. Inventory OpenAM deployments and the Maven package org.openidentityplatform.openam:openam-scripting, then compare them with the version boundaries in affected_summary.
  2. Identify accounts that can create or edit server-side scripts in executed contexts, especially sub-realm RealmAdmin accounts.
  3. Review script source and change history for use of the Groovy process-launch extension execute or indirect dispatch through invokeMethod. This is a lead for investigation, not proof of exploitation by itself.
  4. Review operating-system and application-server telemetry for unusual child processes created by the OpenAM server account around script execution times. This is precautionary monitoring, not a vendor-confirmed indicator of compromise.
  5. Do not treat the absence of suspicious logs or scripts as proof of safety. Confirm the deployed version and script-authoring permissions through administrative inventory.
Sources (10)
Learn more

Run an in-depth assessment with complete web risk management

CyStack VulnScan continuously discovers assets, validates vulnerabilities, and helps security teams prioritize remediation across the organization.