← News
/DISPATCH · 2026-08-03

CVE-2026-62379: OpenAM Pre-Auth RCE via Unsafe Reflection, CVSS 9.8

Open-source IAM platform OpenAM disclosed CVE-2026-62379, a pre-auth RCE at CVSS v3.1 9.8. The /authservice endpoint uses Class.forName to load attacker-controlled Java classes. No credentials are required on default config. Affects 16.1.1 and earlier; fixed in 16.1.2.

On 24 July 2026, Open Identity Platform disclosed a pre-authentication remote code execution flaw in the open-source identity and access management (IAM) platform OpenAM. Tracked as CVE-2026-62379, it scores CVSS v3.1 9.8 (Critical). The bug sits on the `/authservice` remote authentication endpoint: server-side XML parsing uses `Class.forName()` to reflectively load an attacker-controlled Java class name. On default config, any anonymous attacker who can reach the endpoint can trigger code execution with no credentials. The issue was found and reported by Zhixi Jace Sun of ByteDance's ASM/VI team.

1. Incident Overview

OpenAM (formerly Sun OpenAM / ForgeRock OpenAM) is a widely deployed open-source SSO, OAuth 2.0, OIDC, and identity-federation component. It owns enterprise SSO, authorization, and session management. This bug breaks the anonymous-to-authenticated boundary, so any app that relies on OpenAM for identity is high-risk on default config.

2. Technical Details

Root cause is CWE-470 Use of Externally-Controlled Input to Select Classes or Code (unsafe reflection), with CWE-94 dynamic code injection. Trigger chain:

Fix commit `edcf968` adds an explicit callback-class allowlist before `Class.forName`. Names not on the list are rejected at parse time and the reflection chain is cut. The fix is in the XML parser, so even a pre-auth context cannot bypass it.

3. Impact Assessment

CVSS 3.1 vector `AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H` takes the worst value on all eight dimensions: network-reachable, low complexity, no privileges, no user interaction, full C/I/A impact. EPSS currently predicts 0% chance of in-the-wild use in 30 days (early after disclosure), but given:

public PoCs or exploit attempts are expected within 2–3 weeks. A fallen OpenAM instance hands over every downstream system that authenticates through it (OA, ticketing, HR, mail, cloud consoles). Blast radius scales exponentially.

4. Remediation

4.1 Patch now

4.2 Temporary mitigations (if you cannot upgrade yet)

4.3 Hardening

5. References