Fastjson 1.2.x Deserialization Flaw Enables Unauthenticated RCE Without Gadgets
Vulnerability Disclosure · 4 sources · Updated 4mo ago · First seen Jul 22, 2026

A critical deserialization vulnerability in Fastjson 1.2.x allows unauthenticated remote code execution by abusing the library’s internal type-resolution logic, bypassing traditional autoType blacklist and whitelist protections without requiring third-party gadget classes on the target system. Public disclosure and proof-of-concept details identified affected versions as 1.2.68 through 1.2.83 when SafeMode is disabled, with researchers noting that Spring Boot fat-jar classloading can enable attacker-controlled remote class loading over HTTP. Analysis indicates the flaw is most likely to produce full RCE on JDK 8, while newer JDK versions may limit impact to SSRF in some environments.
Why it matters
Impact assessment
CVE-2026-16723 is a critical unauthenticated Fastjson 1.x deserialization flaw that can expose internet-facing Java applications to remote code execution under default parsing behavior when SafeMode is disabled. The exposure is significant because Fastjson 1.x is widely embedded in Java and Spring Boot applications, no patched 1.x release exists, public proof-of-concept code is available, and multiple sources report active exploitation in the wild.
Affected populations and scope
- Affects Alibaba Fastjson 1.x versions 1.2.68 through 1.2.83.
- Fastjson 1.x is commonly present as both a direct and transitive dependency in Java applications.
- Verified affected environments include Spring Boot 2.x, 3.x, and 4.x deployments packaged as executable fat JARs.
- Verified Java runtimes include JDK 8, 11, 17, and 21.
- Any application endpoint that parses attacker-controlled JSON through Fastjson is a potential entry point.
- Qi’anxin estimated millions of Fastjson instances may be exposed.
Severity and business impact
- Successful exploitation can provide unauthenticated remote code execution with the privileges of the Java application.
- Likely outcomes include data theft, credential compromise, malware or webshell deployment, lateral movement, and full server takeover.
- Operational impact can include application outage, incident response costs, regulatory exposure, and reputational damage.
- Independent analysis indicates JDK 8 environments are most likely to permit full RCE; some newer JDK environments may degrade impact to SSRF depending on deployment conditions.
Observed exploitation
- Imperva reported active exploitation in the wild.
- NSFOCUS also reported exploitation had been observed.
- Reported targets include financial services, healthcare, computing, retail, business, and other sectors.
- Most observed activity targeted organizations in the United States, with additional activity reported in Singapore and Canada.


