Unauthenticated code execution via autoType JNDI injection
Published Jan 9, 2026 · Updated Jan 9, 2026
JNDI injection in Alibaba Group Fastjson before 1.2.48 allows remote attackers to execute arbitrary code through crafted JSON. The autoType parser trusts an attacker-controlled @type class name and invokes public setters with payload values, enabling a gadget such as JdbcRowSetImpl to resolve an attacker-supplied JNDI endpoint. Exploitation requires an application to parse attacker-controlled JSON with a compatible gadget class and JNDI behavior, after which code runs with the application's privileges.
Summary
What happened
JNDI injection in Alibaba Group Fastjson before 1.2.48 allows remote attackers to execute arbitrary code through crafted JSON. The autoType parser trusts an attacker-controlled @type class name and invokes public setters with payload values, enabling a gadget such as JdbcRowSetImpl to resolve an attacker-supplied JNDI endpoint. Exploitation requires an application to parse attacker-controlled JSON with a compatible gadget class and JNDI behavior, after which code runs with the application's privileges.
The record
- CVE
- CVE-2025-70974
- Published
- Jan 9, 2026
- Updated
- Jan 9, 2026
- Vendor
- Alibaba Group
- Product
- Fastjson
- Classifications
- CWE-829, T1190
- Attack vector
- network
- Privileges
- unauthenticated
Timeline
How it unfolded
- Jan 9, 2026CVE publishedPublication date reported by the CVE source.
- Jan 9, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=0 <1.2.48
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Weakness, pattern, technique
Public exploit references
- Vulhub Fastjson 1.2.47 JNDI RCE reproductionfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Reported exploitation
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo