On July 21, 2026, Alibaba published a security advisory for CVE-2026-16723, a critical remote code execution vulnerability in the Fastjson 1.x JSON parser. The CVSS 9.0 score and the nature of the exploit — which works with default settings, without AutoType enabled and without gadgets on the classpath — immediately rendered conventional mitigations insufficient. The gravest consequence: as of July 25, 2026, no patch exists for the 1.x branch.
- CVE-2026-16723 affects Fastjson versions 1.2.68 through 1.2.83 inclusive with a CVSS 9.0 score assigned by Alibaba.
- The exploit requires neither AutoType enabled nor gadgets on the classpath, functioning with the parser's default configuration.
- The attack chain exploits the class resource lookup mechanism via
@type, with the@JSONTypeannotation acting as a trust signal to bypass subsequent checks. - ThreatBook reported in-the-wild exploitation starting July 22, 2026; CISA-ADP marked exploitation as "none" on July 23, creating an unresolved discrepancy in available sources.
The Mechanism That Breaks Fastjson's Trust Model
The core of the vulnerability lies in ParserConfig.checkAutoType, the method Fastjson uses to handle the @type annotation in JSON payloads. According to The Hacker News analysis based on the Alibaba advisory, the parser converts the attacker-controlled value into a class resource name and passes it to ClassLoader.getResourceAsStream(). In Spring Boot environments with executable fat-JARs, this allows the use of absolute URLs to download remote classes.
The critical element is the role of the @JSONType annotation in the downloaded bytecode. Fastjson reads this annotation via ASM ClassReader and treats it as a trust signal, allowing the class to load before subsequent security checks intervene. This order of operations — load before full check — is the condition that enables execution.
On modern JDKs, the chain uses /proc/self/fd to reopen downloaded temporary JARs, a path that exploits the operating system's file descriptor semantics. This detail is documented by The Hacker News as part of the Alibaba advisory description.
"no AutoType enablement required, no classpath gadget required" — Alibaba advisory via NVD/CVE-2026-16723
Technical Analysis: The Assumptions According to WeeX/GCSA
A separate technical analysis conducted by WeeX/GCSA Global Cybersecurity Alliance describes how CVE-2026-16723 invalidates three established defensive assumptions in Fastjson management. First: that disabling AutoType makes the parser safe. Second: that binding to a fixed type protects against arbitrary class loading. Third: that the absence of known gadgets on the classpath prevents exploit chain construction.
This analysis comes from a source with a supporting role and a different internal ID (FJ-GETRESOURCE-RCE), not from the primary source of the in-the-wild exploitation news. Technical reproduction details — including confirmation on JDK 8, 17, 21, and 25 with Spring Boot Loader in isolated environments — are documented in this separate analysis, not in The Hacker News.
The Spring Boot fat-JAR condition is specific but not marginal. Affected deployments are those using the executable format with integrated loader; plain non-fat JARs, generic uber-JARs, and WARs for Tomcat/Jetty do not present the same attack surface. This technical granularity is fundamental for risk inventory.
In-the-Wild Activity and the CISA-ADP Discrepancy
The news of in-the-wild exploitation rests on statements from ThreatBook and Imperva reported by The Hacker News. No independent corroboration with Alibaba exists, nor evidence of verified compromises.
ThreatBook declared on July 22, 2026 that it had captured in-the-wild exploitation after adding detection support two days prior. Imperva reported activity against financial services, healthcare, computing, retail, and other sectors, primarily in the United States, with smaller volumes in Singapore and Canada. Approximately 30% of requests originate from Ruby and Go tools, with the remainder from browser impersonators.
At the same time, CISA-ADP marked exploitation as "none" on July 23, 2026. The vulnerability is not in the KEV catalog. No vendor has published attack counts, evidence of execution on real targets, or confirmed victims. This discrepancy remains unresolved in available sources.
Immediate Actions
- Enable SafeMode with
-Dfastjson.parser.safeMode=true: SafeMode checks are positioned before resource access, breaking the exploit chain. - Inventory all transitive dependencies that include Fastjson 1.x in Spring Boot projects, verifying the packaging format of distributed JARs.
- Plan migration to Fastjson2: the 2.x branch is unaffected by the vulnerability and is the only active development line.
- Verify that no instances of the
1.2.83_noneautotypebuild are treated as equivalent to the standard release: only the build with thenoneautotypesuffix has additional restrictions.
The Support Boundary and the Forced Choice
The situation is a dead end for those who cannot migrate quickly. Version 1.2.83 is the last standard release of the 1.x branch; no patched build exists in the project's GitHub repository or on Maven Central as of July 25, 2026.
Source code analysis conducted by GCSA indicates that the class resource probing logic exists at least since 1.2.67, with 1.2.68 marked as the confirmed verification point. For versions prior to 1.2.67, the source qualifies this extension as possible but unverified. Alibaba has not communicated a timeline for a potential backport.
The operational decision for teams maintaining Fastjson 1.x presents as a choice between immediate mitigation with SafeMode and structural migration to Fastjson2. The first requires no code changes but impacts parser functionality. The second eliminates the vulnerability but requires refactoring and compatibility testing. Both options are valid; no third path exists at this time.
Information has been verified against cited sources and updated at time of publication.
Sources
- https://thehackernews.com/2026/07/fastjson-1x-rce-vulnerability-targeted.html
- https://nvd.nist.gov/vuln/detail/CVE-2026-16723
- https://www.weex.com/news/detail/in-depth-analysis-and-defense-guide-for-fastjson-1283-gadget-free-vulnerability-0day-vpgo09p3vdg2mey55c4j2n7k
- https://thomasharris6.wordpress.com/2026/07/25/fastjson-1-x-rce-vulnerability-targeted-in-attacks-with-no-patched-available/
- https://www.guardianmssp.com/2026/07/25/fastjson-1-x-rce-vulnerability-targeted-in-attacks-with-no-patched-available/
- https://nvd.nist.gov/vuln
- https://nvd.nist.gov/vuln/search
- https://nvd.nist.gov/vuln/categories
- https://nvd.nist.gov/vuln/data-feeds
- https://nvd.nist.gov/vuln/vendor-comments