1-minute read of a 4 min report

Fastjson Flaw Enabled RCE in Spring Boot Fat JAR Applications

By

1-minute read

What a defender needs to know

Alibaba has disclosed CVE-2026-16723, a remote code execution flaw in Fastjson 1.2.68 through 1.2.83. The vulnerable path can be reached with AutoType disabled. Exposure requires a Spring Boot executable fat JAR that parses attacker-controlled JSON while Fastjson SafeMode is off.

Fastjson2, noneautotype builds, SafeMode-enabled applications, and deployments outside the Spring Boot fat-JAR condition are not affected under Alibaba’s advisory. ThreatBook says its platform captured exploitation attempts and reproduced code execution on a Spring Boot fat JAR running JDK 8. No independent incident record corroborates ThreatBook’s claim, and CISA marked exploitation as none in its July 23 CVE contribution.

Search Maven and Gradle dependency trees for direct and transitive Fastjson copies, then inspect how each matching application is packaged and launched. Alibaba recommends enabling SafeMode immediately or switching to the 1.2.83 noneautotype build while planning migration to Fastjson2.

After enabling SafeMode, run normal JSON integration tests and add a benign request containing an @type field. The parser should reject that field before type resolution. If it parses successfully, the mitigation is missing or the test did not reach the exposed parser.

Primary sources