News · Cybersecurity · 31 July 2026

Critical Fastjson Flaw Enables Unauthenticated Remote Code Execution

VTA-000191 – Critical Fastjson Flaw Enables Unauthenticated Remote Code Execution

Overview

Security researchers have identified active exploitation activity targeting CVE-2026-16723, a critical vulnerability affecting Fastjson 1.2.68–1.2.83. The vulnerability has been assigned a CVSS score of 9.0 and may allow an unauthenticated attacker to execute arbitrary code remotely on vulnerable systems.

The issue impacts applications that use Fastjson for JSON deserialization, particularly Spring Boot executable fat-JAR applications that expose JSON processing endpoints to untrusted users.

Vulnerability Details

The vulnerability exists due to weaknesses in Fastjson’s object deserialization and type resolution mechanisms. By sending a specially crafted JSON request containing a malicious @type parameter, an attacker may force the application to load attacker-controlled resources.

In vulnerable environments, the attack chain may allow:

  • Retrieval of malicious bytecode from external locations.

  • Bypass of Fastjson type restrictions through annotation-based trust mechanisms.

  • Remote execution of attacker-controlled code.

  • Execution with the same permissions as the affected Java application.

Unlike previous Fastjson exploitation techniques, this vulnerability does not depend on:

  • AutoType being explicitly enabled.

  • Existing gadget classes being available on the application classpath.

This significantly increases the potential impact against exposed applications where SafeMode protections are not enabled.

Affected Environments

Organizations may be affected if they operate:

  • Fastjson versions 1.2.68 through 1.2.83.

  • Spring Boot applications packaged as executable fat-JAR files.

  • Applications processing user-controlled JSON input.

  • APIs using:

    • JSON.parse()

    • JSON.parseObject(String)

    • JSON.parseObject(String, Class)

Higher-risk applications include those that deserialize JSON data into objects containing generic fields such as:

  • Object

  • Map

  • Dynamic object structures

Threat Activity

Researchers have reported exploitation attempts targeting organizations across multiple industries, including:

  • Financial services

  • Healthcare

  • Retail

  • Technology

Current reporting confirms active exploitation attempts; however, there is no publicly confirmed evidence of widespread successful compromise at this time.

Risk Rating

Severity: Medium
Impact: Remote Code Execution
Attack Vector: Network-based exploitation
Required Privileges: None
User Interaction: Not required

MITRE ATT&CK Classification

Tactics

  • Initial Access

  • Execution

  • Privilege Escalation

  • Defense Evasion

Techniques

  • T1190 – Exploit Public-Facing Application

  • T1059 – Command and Scripting Interpreter

  • T1620 – Reflective Code Loading

  • T1105 – Ingress Tool Transfer

Recommended Security Actions

Immediate Mitigation

  1. Enable Fastjson SafeMode:

-DFastJson.parser.safeMode=true

  1. Review exposed applications and APIs using Fastjson.

  2. Inspect security logs for suspicious requests containing:

  • @type

  • jar:http

  • jar:file

  1. Restrict unnecessary outbound connections from application servers.

Remediation Actions

  1. Upgrade affected applications to Fastjson 2.x after completing compatibility testing.

  2. If migration cannot be performed immediately, deploy the Fastjson 1.2.83_noneautotype build as a temporary mitigation.

  3. Perform dependency analysis to identify Fastjson usage, including indirect dependencies introduced by third-party libraries.

  4. Apply updated WAF protections to detect and block malicious deserialization payloads.

Investigation Guidance

Security teams should investigate potentially affected systems for:

  • Unexpected operating system command execution.

  • Suspicious Java child processes.

  • Unknown outbound network connections.

  • Unauthorized file creation or modification.

  • Web shell deployment.

  • Persistence mechanisms.

  • Unexpected changes to application packages or JAR files.

Security Monitoring Recommendations

Monitor for:

  • Abnormal JSON payload structures.

  • Attempts to load remote resources.

  • Java applications initiating unexpected external connections.

  • Suspicious command execution originating from application processes.

  • Changes within application directories.

References

  1. NVD – CVE-2026-16723

  2. Fastjson Security Advisory – Remote Code Execution in Fastjson 1.2.68–1.2.83

  3. Imperva Security Research – Fastjson RCE Protection Advisory

Conclusion

CVE-2026-16723 presents a serious risk to organizations running vulnerable Fastjson 1.x deployments. Successful exploitation could allow attackers to gain remote code execution on affected Java applications and potentially compromise underlying systems.

Organizations should prioritize identifying vulnerable Fastjson deployments, applying recommended mitigations, reviewing suspicious activity, and planning migration to secure supported JSON processing frameworks.