FastJson RCE Zero-Day Exploitation Campaign
First seen Jul 28, 2026 · Updated Jul 28, 2026 · CVSS 9.8
Threat actors are actively exploiting an unpatched remote code execution vulnerability in the widely-used FastJson Java library, targeting US-based organizations. The flaw requires no authentication or user interaction, making it highly attractive for mass exploitation and initial access into enterprise networks.
Technical Analysis
FastJson is a popular Java library for JSON serialization/deserialization used extensively in enterprise backends, microservices, and middleware. The vulnerability appears to stem from unsafe deserialization logic (consistent with historical FastJson autotype bypass issues) that allows attackers to craft malicious JSON payloads triggering arbitrary class instantiation and remote code execution on the host JVM. No CVE identifier has been publicly assigned yet, indicating this is being treated as an unpatched zero-day with active in-the-wild exploitation preceding a formal disclosure or patch. Attackers likely chain this with JNDI injection or gadget chains similar to prior FastJson/Fastjson2 exploits to achieve code execution, drop web shells, or establish persistence. Because FastJson is frequently pulled in as a transitive dependency by Java-based backend services, including those powering RAG pipelines, agent orchestration middleware, and API gateways that AI agents rely on for tool invocation, successful exploitation could allow attackers to pivot into agent infrastructure, exfiltrate API keys/secrets used by agents, or tamper with data returned to LLM-based systems.
Affected Systems
Java applications and services using vulnerable versions of the FastJson (and potentially Fastjson2) library, particularly enterprise backend services, API gateways, and middleware exposing JSON parsing endpoints to untrusted input.
Indicators of Compromise
- No specific hashes, IPs, or domains disclosed in source reporting at time of analysis; monitor vendor and CERT advisories for updated IOC lists.
Remediation Steps
- 1
Inventory FastJson usage
Scan all Java applications and dependency trees (direct and transitive) for FastJson/Fastjson2 library usage and version numbers.
- 2
Apply vendor patches immediately
Monitor Alibaba's FastJson GitHub repository and security advisories for an official patch; apply as soon as released.
- 3
Enable autotype safe mode
Ensure FastJson's safe mode / autotype blacklist protections are enabled and not bypassed via reflection or class loader tricks.
- 4
Deploy WAF/IPS signatures
Implement web application firewall rules to detect and block known FastJson exploitation payloads and JNDI injection attempts.
- 5
Network segmentation and egress filtering
Restrict outbound LDAP/RMI/HTTP connections from application servers to prevent JNDI-based callback exploitation.
- 6
Rotate exposed credentials
For any systems confirmed or suspected compromised, rotate API keys, service account credentials, and secrets accessible to affected services, including those used by AI agent tooling.
- 7
Enhanced logging and monitoring
Enable verbose JVM and application logging to detect anomalous class loading, unexpected outbound connections, or web shell deployment.
Industries Most Exposed
Respond to this threat
Pro subscribers get a full AI-generated incident-response playbook for this threat — detection, containment, eradication, and recovery steps — plus an unlimited AI Threat Advisor for questions about your environment.