Skip to main content
Mallory
CriticalExploited in the wildCISA KEVPublic exploitVulnerability

CVE-2021-35464: Unauthenticated Java Deserialization RCE in ForgeRock AM

Published Jul 22, 2021 · Updated 17 days ago
Trending this weekNot trendingOutside this week’s top 100
Mention activity · 30 days1 mention · peak 1 in a dayToday
CVSS9.8Critical · v3.1
EPSS100.0%100th percentile
CISA KEVYesAdded Nov 3, 2021
In the wildActivePer CISA KEV
Vendor
Forgerock
IdentifiersCVE-2021-35464CWE-502 · Deserialization of Untrusted Data

CVE-2021-35464 is an unsafe Java deserialization vulnerability in ForgeRock Access Management releases before 7.0, including the 6.0.0.x series and 6.5 releases through 6.5.3. Multiple pages deserialize attacker-controlled data from the jato.pageSession HTTP parameter without class filtering. The vulnerable functionality uses the legacy Sun ONE Application Framework (JATO), associated with Java 8 or earlier deployments. A single crafted request to an accessible JATO endpoint can trigger arbitrary code execution without authentication. The issue is distinct from CVE-2026-33439, which affects the separate jato.clientSession deserialization path.

Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Analyst brief

Impact, mitigation & remediation

What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.

Impact

What an attacker gets, and what they’ve been doing with it.

Successful exploitation compromises the AM application server within the privileges of its service account, potentially exposing identity-service credentials, configuration, and other accessible sensitive data. Attackers can deploy malware, establish persistence, and use the server as a foothold for lateral movement. Exploitation has been associated with Scattered Spider and Gold Melody, and the vulnerability is listed in CISA's Known Exploited Vulnerabilities Catalog. Administrative or cloud-level access depends on additional permissions, exposed credentials, or subsequent exploitation; it is not an inherent result of this flaw.

Mitigation

If you can’t patch tonight, do this now.

Until remediation is complete, restrict network access to affected AM/JATO endpoints to trusted systems and remove unnecessary internet exposure. Where operationally feasible, prevent untrusted requests from reaching the affected pages. Run the application server with least privilege and restrict access to sensitive credentials and cloud roles to limit post-exploitation impact. These controls reduce exposure or consequences but do not correct unsafe deserialization.

Remediation

Patch, then assume compromise.

Apply the vendor-provided fix for CVE-2021-35464 or migrate to a supported ForgeRock AM release confirmed not to be affected. The exact ForgeRock patch release is not specified here. OpenIdentityPlatform OpenAM addressed the original jato.pageSession issue by introducing WhitelistObjectInputStream in ConsoleViewBeanBase.deserializePageAttributes(), restricting deserialization to approximately 40 permitted classes. Do not confuse that correction with OpenAM 16.0.6, which fixes the separate jato.clientSession vulnerability tracked as CVE-2026-33439.

Public exploits

Exploits

2 exploits validated by Mallory's analysis. Hidden: 1 not yet analyzed, such as Exploit-DB entries.

View more in app →
cve_2021_35464_forgerock_openam.rbThis repository contains a single Metasploit module targeting CVE-2021-35464, a pre-authentication remote code execution vulnerability in ForgeRock OpenAM and the ForgeRock Identity Platform. The exploit leverages a Java deserialization flaw in the Jato framework, allowing attackers to execute arbitrary commands or drop a Meterpreter payload on the target system by sending a specially crafted POST request to the '/openam/oauth2/..;/ccversion/Version' endpoint. The module supports both Unix command execution and Linux dropper payloads, making it highly weaponized and flexible. The code is written in Ruby and follows the standard Metasploit module structure, including auto-check capabilities and payload staging. The only file in the repository is the exploit module itself, which is fully operational and ready for use within the Metasploit framework.Disclosed Jun 29, 2021 · Framework: metasploit · ruby · networkWeaponizedopenam-CVE-2021-35464This repository is an exploit for CVE-2021-35464, a pre-authentication remote code execution vulnerability in ForgeRock OpenAM. The exploit is based on ysoserial and Java-Rce-Echo, and leverages Java deserialization to inject a memory shell into Tomcat, enabling arbitrary command execution via HTTP requests. The main exploit logic is in the Java files under src/ysoserial/payloads, particularly Click1.java (which constructs a malicious serialized object) and TomcatEchoInject.java (which implements the memory shell). The entry point is src/com/test/Main.java, which demonstrates generating the payload. The README provides a detailed example of the HTTP POST request required to trigger the vulnerability, targeting the /OpenAM/ccversion/Version endpoint. The exploit requires the attacker to send a crafted serialized object to the vulnerable endpoint, after which commands can be executed on the server by including a 'cmd' header in subsequent requests. The repository is operational and provides a working exploit for the vulnerability, but does not include a fully weaponized, automated attack tool.Y4er · Disclosed Jul 1, 2021 · java · networkOperational
Exposure surface

Affected products & vendors

Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.

VendorProductType
ForgerockAccess Managementapplication
ForgerockOpenamapplication
FAQ

Frequently asked questions

Is CVE-2021-35464 exploited in the wild?
Yes. As of Nov 11, 2026, Mallory has reports of exploitation in the wild, and CISA added it to KEV on Nov 3, 2021.
Is there a public exploit for CVE-2021-35464?
Yes. Mallory tracks 2 public exploits or proofs of concept for CVE-2021-35464, the earliest disclosed Jun 29, 2021.
Is there a patch for CVE-2021-35464?
Apply the vendor-provided fix for CVE-2021-35464 or migrate to a supported ForgeRock AM release confirmed not to be affected. The exact ForgeRock patch release is not specified here.
What products are affected by CVE-2021-35464?
Forgerock Access Management and Forgerock Openam.
How severe is CVE-2021-35464?
CVE-2021-35464 has a CVSS v3.1 score of 9.8 (Critical) and an EPSS score of 100.0% (100th percentile) as of Nov 11, 2026.
Activity feed

Recent activity

17 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.

View more in app →
+9 more in the timeline. Sign up to see them
Do you run this?See affected versions in your environment and whether adversaries are exploiting this vulnerability against assets like yours.
Check your exposure
Mallory platform

The version that knows your environment.

This page is what’s public. Mallory adds the parts that aren’t: which of your assets are affected, which adversaries are exploiting it right now, and which detections to deploy tonight.
Exposure mappingQuery your assets running an affected version, and investigate the blast radius.
Threat actor evidence5Every report linking this CVE to a named adversary.
Associated malware2Malware families linked to this CVE, with evidence and IOCs.
Detection signatures4YARA, Sigma, Snort, and vendor rules, auto-deployed to your SIEM.
Vendor-by-vendor mappingCross-references every affected SKU, including bundled OEM variants.
Social activity2Community discussion across Reddit, Mastodon, and other social sources.