Input validation error in Fastjson - CVE-2026-16723

 

Input validation error in Fastjson - CVE-2026-16723

Published: July 31, 2026


Vulnerability identifier: #VU140629
CSH Severity: Critical
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:A/U:Red
CVE-ID: CVE-2026-16723
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: The vulnerability is being exploited in the wild
Affected software:
Fastjson

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary code.

The vulnerability exists due to improper input validation in fastjson type resolution logic when parsing user-supplied JSON input. A remote attacker can send a specially crafted JSON payload to execute arbitrary code.

Exploitation requires the application to run as a Spring Boot executable fat-jar under the default configuration with AutoType disabled and SafeMode disabled.


How to mitigate CVE-2026-16723

Install security update from vendor's website.

Sources