CVE-2025-70974: Vulnerability in Fastjson
Critical. Fastjson before 1.2.48 mishandles autoType because, when an @type key is in a JSON document, and the value of that key is the name of a Java class, there may be calls to certain public methods of that class. Depending on the behavior of those methods, there may be JNDI injection with an attacker-supplied payload located elsewhere in that JSON document. This was exploited in the wild in 2023 through 2025. NOTE:...
Maven, CWE-829
- Exploitation
- None confirmed
- Severity
- 10 of 10
- Attack likelihood
- Unknown
- Fix
- Fixed version known
- Patch deadline
- No deadline set
Details
- Advisory ID
- GHSA-jm7w-5684-pvh8
- Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- Weakness
- CWE-829
- Published
- 9 Jan 2026
- Last change
- 5 Oct 2026
- Ecosystem
- Maven
Affected products
Affected versions and the first fixed release
- Fastjson Before 1.2.48. Fixed in 1.2.48
Affected packages
Vulnerable version ranges and fixed releases
- com.alibaba:fastjson Maven, Affected before 1.2.48. Fixed in 1.2.48
Advisories
Vendor and security advisories
- cert.360.cn/warning/detail
- github.com/vulhub/vulhub/tree/master/fastjson/1.2.47-rce
- cloudsek.com/blog/androxgh0st-continues-exploitation-operators-compromise-a-us-universi...
- cnvd.org.cn/flaw/show/CNVD-2019-22238
- freebuf.com/vuls/208339.html
Patches and fixes
Updates, commits and release notes
Related
- Fastjson vulnerabilities Recent advisories, watch this product