Imperva Customers Protected Against CVE-2026-16723: Critical FastJson 1.x Zero-Day RCE
TL;DR:Β A critical remote code execution vulnerability has beenΒ disclosedΒ inΒ FastJson, a widely used JSON processing library for Java.Β The vulnerability,Β assignedΒ CVE-2026-16723Β with a CVSS score of 9.0 (Critical),Β affectsΒ FastJsonΒ versions 1.2.68 through 1.2.83 under specific Spring Boot deployment conditions and can be exploited using malicious JSON without authentication, enablingΒ AutoType, or relying on third-party gadget classes.Β
Imperva customers are protected against exploitation attempts associated with this vulnerability.Β Organizations usingΒ FastJsonΒ 1.x should enableΒ SafeModeΒ immediatelyΒ and prioritize migration toΒ FastJsonΒ 2.x.Β
About theΒ FastJsonΒ VulnerabilityΒ
On July 21, 2026, theΒ FastJsonΒ maintainers published a security advisory for a critical remote code execution vulnerability discovered byΒ FearsOff Cybersecurity.Β FastJsonΒ is an open-source Java library originally developed by Alibaba for serializing Java objects into JSON and deserializing JSON into Java objects.Β
The vulnerability affectsΒ FastJsonΒ versions 1.2.68 through 1.2.83, including 1.2.83,Β the final release in theΒ FastJsonΒ 1.x branch.Β ItβsΒ been assignedΒ CVE-2026-16723, with a CVSS score of 9.0, or Critical.Β According to theΒ officialΒ FastJsonΒ advisory, exploitation has been verified in Spring Boot applications deployed as executable fat JARs across Spring Boot 2.x, 3.x, and 4.x and JDK versions 8, 11, 17, and 21.Β
The issue is particularly dangerous because it is exploitable underΒ FastJsonβsΒ default configuration.Β AutoTypeΒ does not need to be enabled, and attackers do not need a suitable third-party gadget class to be present in theΒ applicationβsΒ classpath. Applications are potentially exposed when they process attacker-controlled JSON using common methods includingΒ JSON.parse,Β JSON.parseObject(String), andΒ JSON.parseObject(String, Class).Β
Specifying a target class during deserialization does not fully mitigate the vulnerability. An attacker may still be able to place a malicious payload inside a field typed as an Object or Map.Β
How the Vulnerability WorksΒ
FastJsonΒ supports polymorphic deserialization through the @type field, whichΒ identifiesΒ the Java class that should be instantiated from supplied JSON. AlthoughΒ FastJsonΒ 1.x disablesΒ AutoTypeΒ by default and applies checks intended to prevent untrusted classes from being instantiated, the newly disclosed vulnerability exposes an alternate path through its internal type-resolution logic.Β
An attacker canΒ submitΒ specially crafted JSONΒ containingΒ a malicious @type value. During processing,Β FastJsonΒ may perform resource lookups based on the attacker-controlled class name. In affected Spring Boot fat-JAR deployments, an attacker can manipulate this behavior using nested JAR URLs, bypassΒ FastJsonβsΒ normal type restrictions, and reach a code-execution path without supplying a conventional deserialization gadget.Β
This bypass is possible becauseΒ FastJsonΒ 1.x can treat the presence of a @JSONType annotation as a trust signal during type resolution. The attacker-controlled resource lookup and annotation-based trust behavior combine to circumvent the protections normally associated with disablingΒ AutoType.Β
Successful exploitation can allow an unauthenticated remote attacker to execute arbitrary code with the privileges of the affected Java application. This could lead to data theft, malware orΒ webshellΒ deployment, credential compromise, lateral movement, or complete takeover of the underlying server. Public proof-of-concept information is available,Β substantially increasingΒ the likelihood of rapid exploitation.Β
FastJsonΒ 2.x is not affected. Its type-resolution architecture does not perform equivalent resource probing on user-controlled class names, does not use @JSONType as a trust signal, and uses an allowlist-first model for polymorphic type handling.Β
WhatΒ WeβreΒ SeeingΒ
So far, attacks exploiting this vulnerability are targeting a wide range ofΒ organizations,Β across Financial Services, Healthcare, Computing, Retail, Business, and other industries.
![]()
Attacks areΒ currentlyΒ almost entirelyΒ targeting US-based organizations, with a few attacks in Singapore and Canada, although this willΒ likely continueΒ to expand globally.Β Β
Most attacks are coming from browser impersonators, although tools written in Ruby and Go account for about 30% of all attacks collectively.Β Β
Mitigation and ProtectionΒ
Imperva customers are protected against exploitation attempts associated with CVE-2026-16723.Β Imperva Cloud WAF and WAF Gateway inspect incoming HTTP requests andΒ identifyΒ malicious JSON payloads, suspicious @type values, nested JAR URL patterns, and remote code execution techniques before they reach vulnerable applications.Β
Organizations should not rely on perimeter protection as a substitute for remediation.Β FastJsonΒ 1.x is no longer activelyΒ maintained, and no patched 1.x version has been released for this vulnerability. Organizations using an affected release should take the following actions:Β
- EnableΒ FastJsonΒ SafeModeΒ immediatelyΒ using the JVM option -DFastJson.parser.safeMode=true, theΒ FastJson.parser.safeMode=true property, orΒ ParserConfig.getGlobalInstance().setSafeMode(true).Β Β
- Alternatively, use aΒ FastJsonΒ noneautotypeΒ build, which removes the vulnerableΒ AutoType-related code at compile time.Β Β
- Inventory Java and Spring Boot applications forΒ FastJsonΒ dependencies, including transitive dependencies.Β Β
- Prioritize migration toΒ FastJsonΒ 2.x afterΒ appropriate compatibilityΒ testing.Β Β
- Review application and WAF logs for suspicious JSON requests containing @type fields orΒ jar:httpΒ andΒ jar:fileΒ URL patterns.Β Β
- Investigate potentially affected systems for unexpected process execution, outbound connections, unauthorized file changes,Β webshells, or other indications of compromise.Β Β
Because exploitation requires no authentication, no user interaction, and no external gadget library, exposed applications running affected configurations should be treated as high-priority remediation targets.Β Imperva customersΒ remainΒ protected while organizationsΒ identifyΒ vulnerable deployments, enableΒ SafeMode, and migrate away fromΒ FastJsonΒ 1.x.Β
The post Imperva Customers Protected Against CVE-2026-16723: Critical FastJson 1.x Zero-Day RCE appeared first on Blog.





