Loading...
Skip to main content

CVE-2026-62379 — Vulnerability in...

CRITICAL

OpenAM: Unauthenticated Remote Code Execution via Class.forName in AuthXMLUtils.createCustomCallback

Published July 24, 2026Updated August 18, 2026Source: osv

Summary

## Summary A pre-authentication remote code execution vulnerability affects OpenAM. The remote authentication endpoint (`/authservice`, PLL) accepts an XML element that names an arbitrary Java class, which the server then loads and instantiates without validation. On a default configuration this is reachable **without authentication** and allows an attacker to run code on the server. ## Impact Unauthenticated remote code execution / full server compromise on any OpenAM instance with default settings. ## Affected All releases up to and including 16.1.1 (the defect predates the Open Identity Platform fork). ## Remediation Upgrade to `16.1.2`. The fix resolves the class named in a `<CustomCallback>` element without running its static initialisers and rejects it unless it implements `DSAMECallbackInterface`, and it constrains deserialisation of the serialised `Subject` value to a class allowlist. ## Interim mitigation If you cannot upgrade immediately: - **Restrict or block external network access to `/authservice`.** This is the only reliable mitigation. - Optionally, **block PLL requests carrying a `<CustomCallback className="...">` element** at the reverse proxy or WAF. That element is only produced for custom `DSAMECallbackInterface` callbacks, so most deployments never send it — confirm against your own traffic before enforcing. - **Enabling `sunRemoteAuthSecurityEnabled` does *not* mitigate this issue.** The remote-auth security token is checked in `AuthXMLHandler.processAuthXMLRequest`, which runs only after `AuthXMLRequest.parseXML` has already parsed the request and instantiated the class named in the `<CustomCallback className="...">` element. Do not rely on it as a substitute for upgrading or for network restriction. ## Credit Vulnerability discovered by Zhixi "Jace" Sun of ASM/VI at TikTok. Correction of the interim mitigation guidance contributed by @BarakSrour.

Advisory Timeline

  • First published July 24, 2026 (80 days ago).
  • Last revised August 18, 2026 — 24 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.openidentityplatform.openam:openam-core to 16.1.2 or later
<!-- Update pom.xml dependency version to 16.1.2 for org.openidentityplatform.openam:openam-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (1)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.openidentityplatform.openam:openam-core
maven
14.5.2, 14.5.3, 14.5.4, 14.6.1 (+37 more)16.1.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 9.8 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Frequently Asked Questions

What is CVE-2026-62379?
OpenAM: Unauthenticated Remote Code Execution via Class.forName in AuthXMLUtils.createCustomCallback This vulnerability has been assigned a severity rating of CRITICAL (CVSS score: 9.8/10).
How do I check if my project is affected by CVE-2026-62379?
CVE-2026-62379 affects org.openidentityplatform.openam:openam-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-62379 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
9.8

Exploitation is straightforward and causes maximum impact. Patch immediately.

Also Known As

GHSA-wg5r-wc3x-39vc

Related CVEs

  • CVE-2026-33439
    CRITICAL

    OpenIdentityPlatform OpenAM: Pre-Authentication Remote Code Execution via `jato.clientSession` Deserialization in OpenAM

  • CVE-2026-45051
    CRITICAL

    OpenAM: Pre-auth RCE via Java Deserialization in WebAuthn Authenticator Storage

  • CVE-2026-44203
    CRITICAL

    OpenAM has pre-auth Reflected XSS in OAuth2 / OIDC response_mode=form_post via state parameter (FormPostResponse.ftl)

  • CVE-2026-62263
    CRITICAL

    OpenAM: WebAuthn Java deserialization RCE via ObjectInputFilter depth>1 bypass

  • CVE-2026-45052
    CRITICAL

    OpenAM Pre-auth User Profile Tampering via Anonymous SOAP Authn in Liberty IDPP/Discovery Endpoints

  • CVE-2025-64099
    HIGH

    OpenAM: Using arbitrary OIDC requested claims values in id_token and user_info is allowed

  • CVE-2026-45794
    HIGH

    OpenAM has Unsafe Java Deserialization via SNS

  • CVE-2026-45048
    HIGH

    OpenAM Authenticated Privilege Escalation via Raw Token Disclosure Session RPC

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies