CVE-2026-33439: OpenIdentityPlatform OpenAM Remote Code Execution Vulnerability

CRITICAL
Advisory Identifier: GHSA-2cqq-rpvq-g5qj
CWE-502
Published
Advisory Summary

CVE-2026-33439 is a CRITICAL remote code execution vulnerability (CWE-502: Deserialization of Untrusted Data) affecting OpenIdentityPlatform OpenAM libraries in the Maven ecosystem. The issue involves pre-authentication remote code execution via `jato.clientsession` deserialization in openam. Remediation is available by upgrading affected packages to version 16.0.6.

CVE-2026-33439 at a Glance

CVE Identifier CVE-2026-33439
GHSA Identifier GHSA-2cqq-rpvq-g5qj
Severity CRITICAL
CVSS v3.1 Base Score N/A
CWE Classification CWE-502: Deserialization of Untrusted Data
Affected Product OpenIdentityPlatform OpenAM
Package Ecosystem Maven
Published Date
Last Updated

How to Fix CVE-2026-33439

To remediate this vulnerability, upgrade all affected OpenIdentityPlatform OpenAM dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.openidentityplatform.openam:openam fixed: 16.0.6
<dependency>
    <groupId>org.openidentityplatform.openam</groupId>
    <artifactId>openam</artifactId>
    <version>16.0.6</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.openidentityplatform.openam

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2026-33439, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.openidentityplatform.openam

Analyze the terminal output to locate any version of OpenIdentityPlatform OpenAM in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 16.0.6), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.openidentityplatform.openam command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-502: Deserialization of Untrusted Data, where the product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid. In OpenIdentityPlatform OpenAM, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

## Summary OpenIdentityPlatform OpenAM 16.0.5 (and likely earlier versions) is vulnerable to pre-authentication Remote Code Execution (RCE) via unsafe Java deserialization of the `jato.clientSession` HTTP parameter. This bypasses the `WhitelistObjectInputStream` mitigation that was applied to the `jato.pageSession` parameter after CVE-2021-35464. An unauthenticated attacker can achieve arbitrary command execution on the server by sending a crafted serialized Java object as the `jato.clientSession` GET/POST parameter to any JATO ViewBean endpoint whose JSP contains `<jato:form>` tags (e.g., the Password Reset pages). --- ## Vulnerability Details ### Background CVE-2021-35464 identified that the `jato.pageSession` HTTP parameter was deserialized without class filtering, allowing pre-auth RCE. OpenIdentityPlatform OpenAM mitigated this by introducing `WhitelistObjectInputStream` in `ConsoleViewBeanBase.deserializePageAttributes()`, which restricts `jato.pageSession` deserialization to a hardcoded whitelist of ~40 safe classes. However, the JATO framework contains a **second deserialization entry point** — `jato.clientSession` — handled by `ClientSession.deserializeAttributes()`. This code path was **not patched** and still uses the unfiltered `Encoder.deserialize()` → `ApplicationObjectInputStream`, which performs `ObjectInputStream.readObject()` with no class whitelist. ### Root Cause ``` ClientSession.deserializeAttributes() → Encoder.deserialize() → ApplicationObjectInputStream.readObject() // VULNERABLE — no whitelist ``` The `ClientSession` object is instantiated in `RequestContextImpl.getClientSession()` with the raw `jato.clientSession` parameter value from the HTTP request. Deserialization is triggered during JSP rendering when `<jato:form>` tags invoke `getClientSession()` → `hasAttributes()` → `getEncodedString()` → `isValid()` → `ensureAttributes()` → `deserializeAttributes()`. ### Affected Code **File:** `com/iplanet/jato/ClientSession.java` ```java protected ClientSession(RequestContext context) { this.encodedSessionString = context.getRequest().getParameter("jato.clientSession"); } protected void deserializeAttributes() { if (this.encodedSessionString != null && this.encodedSessionString.trim().length() > 0) { this.setAttributes( (Map) Encoder.deserialize( Encoder.decodeHttp64(this.encodedSessionString), false) ); } } ``` ### Gadget Chain The exploit uses classes bundled in the OpenAM WAR: ``` PriorityQueue.readObject() [java.util — JDK] → heapify() → siftDown() → comparator.compare() → Column$ColumnComparator.compare() [openam-core-16.0.5.jar] → Column.getProperty() → PropertyUtils.getObjectPropertyValue() [openam-core-16.0.5.jar] → Method.invoke(TemplatesImpl, "getOutputProperties") → TemplatesImpl.getOutputProperties() [xalan-2.7.3.jar] → newTransformer() → defineTransletClasses() → TransletClassLoader.defineClass(_bytecodes) → _class[_transletIndex].newInstance() → EvilTranslet.<clinit>() [attacker bytecode] → Runtime.getRuntime().exec(cmd) ``` --- ## Impact - **Pre-authentication** — no credentials or session tokens required - **Remote Code Execution** — arbitrary OS commands as the application server user - Full server compromise, lateral movement, data exfiltration - Affects any deployment with at least one accessible JATO endpoint whose JSP renders `<jato:form>` tags (e.g., Password Reset pages) --- ## Tested Environment - OpenIdentityPlatform OpenAM 16.0.5 (official release WAR from GitHub) - Apache Tomcat 10.1.52 - Java 21.0.7 (Oracle JDK) - macOS / Linux (aarch64) - Also verified on `openidentityplatform/openam:latest` Docker image (Java 25) ## Affected Versions - OpenIdentityPlatform OpenAM 16.0.5 (confirmed on both Docker and bare-metal Tomcat) - Likely all versions that left `ClientSession.deserializeAttributes()` unpatched --- ## Remediation 1. Apply `WhitelistObjectInputStream` filtering to `ClientSession.deserializeAttributes()`, matching the mitigation already applied to `ConsoleViewBeanBase.deserializePageAttributes()` 2. Audit all callers of `Encoder.deserialize()` for user-controlled input 3. Consider adding a JVM-wide JEP 290 deserialization filter as defense-in-depth --- ## References - CVE-2021-35464 — Pre-auth RCE in ForgeRock OpenAM (PortSwigger Research) - https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464 - CWE-502: Deserialization of Untrusted Data --- ## Credit This finding was discovered by **Rahul Maini and Hacktron AI** while auditing OpenIdentityPlatform OpenAM. Hacktron AI is our white-box pentest solution, designed to deliver high-accuracy results with minimal false positives. --- ## Disclosure Policy This bug is subject to a 90-day disclosure deadline. If a fix for this issue is made available to users before the end of the 90-day deadline, this bug report will become public on the day that the fix was made available or an earlier or later date if agreed by both parties. Otherwise, this bug report will become public at the deadline. If another researcher discloses the proof-of-concept before any deadlines, we reserve the right to publish our findings. The details of this bug may be privately disclosed to vulnerable parties, including but not limited to Hacktron AI's customers.

CVE-2026-33439 Affected OpenIdentityPlatform OpenAM Versions

1 component(s)
Fixed Versions:
16.0.6
Product / Package Ecosystem Affected Versions Fixed Version
org.openidentityplatform.openam:openam
Maven
< 16.0.6
16.0.6

References

Frequently Asked Questions

What is CVE-2026-33439?
CVE-2026-33439 is a security vulnerability in OpenIdentityPlatform OpenAM involving Pre-Authentication Remote Code Execution via `jato.clientSession` Deserialization in OpenAM under CWE-502: Deserialization of Untrusted Data.
Which OpenIdentityPlatform OpenAM versions are affected?
Affected versions include releases prior to 16.0.6 across affected packages: org.openidentityplatform.openam:openam.
What version fixes CVE-2026-33439?
Upgrading to 16.0.6 (or the latest patched release for your respective branch) resolves the vulnerability.
Is openam affected?
Yes, org.openidentityplatform.openam:openam is affected in releases prior to 16.0.6. Upgrade your dependency to 16.0.6 or later.
What CWE is associated with CVE-2026-33439?
CVE-2026-33439 is classified under CWE-502: Deserialization of Untrusted Data (The product deserializes untrusted data without sufficiently ensuring that the resulting data will be valid.).
How can I check Maven dependencies for CVE-2026-33439?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.openidentityplatform.openam'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-2cqq-rpvq-g5qj",
  "modified" : "2026-04-07T22:16:49Z",
  "published" : "2026-04-07T15:45:50Z",
  "aliases" : [ "CVE-2026-33439" ],
  "summary" : "OpenIdentityPlatform OpenAM: Pre-Authentication Remote Code Execution via `jato.clientSession` Deserialization in OpenAM",
  "details" : "## Summary\n\nOpenIdentityPlatform OpenAM 16.0.5 (and likely earlier versions) is vulnerable to pre-authentication Remote Code Execution (RCE) via unsafe Java deserialization of the `jato.clientSession` HTTP parameter. This bypasses the `WhitelistObjectInputStream` mitigation that was applied to the `jato.pageSession` parameter after CVE-2021-35464.\n\nAn unauthenticated attacker can achieve arbitrary command execution on the server by sending a crafted serialized Java object as the `jato.clientSession` GET/POST parameter to any JATO ViewBean endpoint whose JSP contains `<jato:form>` tags (e.g., the Password Reset pages).\n\n---\n\n## Vulnerability Details\n\n### Background\n\nCVE-2021-35464 identified that the `jato.pageSession` HTTP parameter was deserialized without class filtering, allowing pre-auth RCE.\n\nOpenIdentityPlatform OpenAM mitigated this by introducing `WhitelistObjectInputStream` in `ConsoleViewBeanBase.deserializePageAttributes()`, which restricts `jato.pageSession` deserialization to a hardcoded whitelist of ~40 safe classes.\n\nHowever, the JATO framework contains a **second deserialization entry point** — `jato.clientSession` — handled by `ClientSession.deserializeAttributes()`. This code path was **not patched** and still uses the unfiltered `Encoder.deserialize()` → `ApplicationObjectInputStream`, which performs `ObjectInputStream.readObject()` with no class whitelist.\n\n### Root Cause\n\n```\nClientSession.deserializeAttributes()\n  → Encoder.deserialize()\n    → ApplicationObjectInputStream.readObject()  // VULNERABLE — no whitelist\n```\n\nThe `ClientSession` object is instantiated in `RequestContextImpl.getClientSession()` with the raw `jato.clientSession` parameter value from the HTTP request. Deserialization is triggered during JSP rendering when `<jato:form>` tags invoke `getClientSession()` → `hasAttributes()` → `getEncodedString()` → `isValid()` → `ensureAttributes()` → `deserializeAttributes()`.\n\n### Affected Code\n\n**File:** `com/iplanet/jato/ClientSession.java`\n```java\nprotected ClientSession(RequestContext context) {\n    this.encodedSessionString =\n        context.getRequest().getParameter(\"jato.clientSession\");\n}\n\nprotected void deserializeAttributes() {\n    if (this.encodedSessionString != null\n        && this.encodedSessionString.trim().length() > 0) {\n        this.setAttributes(\n            (Map) Encoder.deserialize(\n                Encoder.decodeHttp64(this.encodedSessionString), false)\n        );\n    }\n}\n```\n\n### Gadget Chain\n\nThe exploit uses classes bundled in the OpenAM WAR:\n\n```\nPriorityQueue.readObject()                        [java.util — JDK]\n  → heapify() → siftDown() → comparator.compare()\n    → Column$ColumnComparator.compare()            [openam-core-16.0.5.jar]\n      → Column.getProperty()\n        → PropertyUtils.getObjectPropertyValue()   [openam-core-16.0.5.jar]\n          → Method.invoke(TemplatesImpl, \"getOutputProperties\")\n            → TemplatesImpl.getOutputProperties()  [xalan-2.7.3.jar]\n              → newTransformer() → defineTransletClasses()\n                → TransletClassLoader.defineClass(_bytecodes)\n                  → _class[_transletIndex].newInstance()\n                    → EvilTranslet.<clinit>()      [attacker bytecode]\n                      → Runtime.getRuntime().exec(cmd)\n```\n\n---\n\n## Impact\n\n- **Pre-authentication** — no credentials or session tokens required\n- **Remote Code Execution** — arbitrary OS commands as the application server user\n- Full server compromise, lateral movement, data exfiltration\n- Affects any deployment with at least one accessible JATO endpoint whose JSP renders `<jato:form>` tags (e.g., Password Reset pages)\n\n---\n\n## Tested Environment\n\n- OpenIdentityPlatform OpenAM 16.0.5 (official release WAR from GitHub)\n- Apache Tomcat 10.1.52\n- Java 21.0.7 (Oracle JDK)\n- macOS / Linux (aarch64)\n- Also verified on `openidentityplatform/openam:latest` Docker image (Java 25)\n\n## Affected Versions\n\n- OpenIdentityPlatform OpenAM 16.0.5 (confirmed on both Docker and bare-metal Tomcat)\n- Likely all versions that left `ClientSession.deserializeAttributes()` unpatched\n\n---\n\n## Remediation\n\n1. Apply `WhitelistObjectInputStream` filtering to `ClientSession.deserializeAttributes()`, matching the mitigation already applied to `ConsoleViewBeanBase.deserializePageAttributes()`\n2. Audit all callers of `Encoder.deserialize()` for user-controlled input\n3. Consider adding a JVM-wide JEP 290 deserialization filter as defense-in-depth\n\n---\n\n## References\n\n- CVE-2021-35464 — Pre-auth RCE in ForgeRock OpenAM (PortSwigger Research)\n- https://portswigger.net/research/pre-auth-rce-in-forgerock-openam-cve-2021-35464\n- CWE-502: Deserialization of Untrusted Data\n\n---\n\n## Credit\n\nThis finding was discovered by **Rahul Maini and Hacktron AI** while auditing OpenIdentityPlatform OpenAM. Hacktron AI is our white-box pentest solution, designed to deliver high-accuracy results with minimal false positives.\n\n---\n\n## Disclosure Policy\n\nThis bug is subject to a 90-day disclosure deadline. If a fix for this issue is made available to users before the end of the 90-day deadline, this bug report will become public on the day that the fix was made available or an earlier or later date if agreed by both parties. Otherwise, this bug report will become public at the deadline.\n\nIf another researcher discloses the proof-of-concept before any deadlines, we reserve the right to publish our findings.\n\nThe details of this bug may be privately disclosed to vulnerable parties, including but not limited to Hacktron AI's customers.",
  "severity" : [ {
    "type" : "CVSS_V4",
    "score" : "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"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.openidentityplatform.openam:openam"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "16.0.6"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 16.0.5"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/OpenIdentityPlatform/OpenAM/security/advisories/GHSA-2cqq-rpvq-g5qj"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-33439"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OpenIdentityPlatform/OpenAM/commit/014007c63cacc834cc795a89fac0e611aebc4a32"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/OpenIdentityPlatform/OpenAM"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/OpenIdentityPlatform/OpenAM/releases/tag/16.0.6"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-502" ],
    "severity" : "CRITICAL",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-04-07T15:45:50Z",
    "nvd_published_at" : "2026-04-07T21:17:17Z"
  }
}