Unpatched Fastjson Vulnerability Exploited in Attacks
A critical remote code execution (RCE) vulnerability, CVE-2026-16723 (CVSS 9), has been actively exploited in Fastjson versions 1.2.68–1.2.83, impacting Spring Boot executable fat-jar deployments. The flaw allows unauthenticated attackers to execute arbitrary code via crafted JSON payloads with malicious @type values, bypassing AutoType protections without requiring gadgets or user interaction. No official patch exists for affected 1.x versions; organizations are advised to migrate to Fastjson 2
Analysis
TL;DR
- A critical remote code execution (RCE) vulnerability, CVE-2026-16723 (CVSS 9), has been actively exploited in Fastjson versions 1.2.68–1.2.83, impacting Spring Boot executable fat-jar deployments.
- The flaw allows unauthenticated attackers to execute arbitrary code via crafted JSON payloads with malicious @type values, bypassing AutoType protections without requiring gadgets or user interaction.
- No official patch exists for affected 1.x versions; organizations are advised to migrate to Fastjson 2.x or apply mitigations like enabling SafeMode and blocking specific request patterns.
- Observed attacks originate from browser impersonators (~70%) and Ruby/Go tools (~30%), targeting sectors including finance, healthcare, retail, and computing across the US, Singapore, and Canada.
Why It Matters
This vulnerability poses a severe risk to Java-based enterprise applications relying on Fastjson, especially those using default configurations in Spring Boot environments. Its exploitability without authentication or external dependencies makes it particularly dangerous for exposed services, demanding immediate remediation to prevent full server compromise.
Technical Details
- Vulnerability Scope: Affects Fastjson 1.2.68 through 1.2.83 (last 1.x release); versions 2.x are unaffected. Exploitation occurs in Spring Boot fat-jar deployments under default settings.
- Exploit Mechanism: Attackers craft JSON payloads containing a malicious
@typefield that triggers resource lookups during deserialization. Fastjson 1.x treats@JSONTypeannotations as trust signals, allowing bypass of AutoType restrictions even when disabled. - Impact: Successful exploitation enables arbitrary code execution on target servers lacking SafeMode, threatening confidentiality, integrity, and availability. No authentication or user interaction is required.
- Mitigation Options: Migrate to Fastjson 2.x; if impossible, enable SafeMode, block POST/JSON requests with specific strings (e.g.,
@type,com.alibaba.fastjson.simple.Simple), or use patched builds removing vulnerable AutoType code. - Threat Landscape: Active exploitation observed globally, primarily via browser impersonators and custom scripts in Ruby/Go, targeting diverse industries including financial services, healthcare, and retail.
Industry Insight
Organizations must prioritize inventory scans for Fastjson 1.x usage in production systems, especially within Spring Boot microservices, given the high likelihood of exposure. Security teams should treat this as a zero-day-like threat due to active exploitation and implement network-level filtering rules to block suspicious JSON payloads while planning rapid migration to Fastjson 2.x. Additionally, supply chain audits should include third-party libraries with similar serialization risks to prevent analogous vulnerabilities.
Disclaimer: The above content is generated by AI and is for reference only.