CVE-2025-70974
FASTJSON Includes Functionality from Untrusted Control Sphere
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- None
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
10.0
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
CVE-2025-70974- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829, CWE-829
- Updated
- 2026-11-02
EUVDEUVD-2026-1694
10.0
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
EUVD-2026-1694- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Updated
- 2026-11-02
GitHub AdvisoriesGHSA-jm7w-5684-pvh8
10.0
FASTJSON Includes Functionality from Untrusted Control Sphere
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
GHSA-jm7w-5684-pvh8- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
NVD
10.0
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
CVE-2025-70974- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
OSV
10.0
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
CVE-2025-70974- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
OSVGHSA-jm7w-5684-pvh8
10.0
FASTJSON Includes Functionality from Untrusted Control Sphere
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: this issue exists because of an incomplete fix for CVE-2017-18349. Also, a later bypass is covered by CVE-2022-25845.
- Record
GHSA-jm7w-5684-pvh8- CVSS 3.1
- 10.0 Critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H - Weakness
- CWE-829
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
com.alibaba:fastjsonMaven |
before 1.2.48 | 1.2.48 |
com.alibaba:fastjsonMaven |
before 1.2.48, plus listed versions 1.1.151.1.161.1.171.1.181.1.19 Show 45 moreShow less1.1.201.1.211.1.221.1.231.1.241.1.251.1.261.1.271.1.281.1.291.1.301.1.311.1.31.sec011.1.31.sec041.1.31.sec061.1.31.sec071.1.31.sec101.1.31_noneautotype1.1.321.1.331.1.33.android1.1.33.sec011.1.33.sec041.1.33.sec061.1.33.sec101.1.341.1.34.android1.1.34.sec011.1.34.sec041.1.34.sec061.1.34.sec091.1.34.sec101.1.34_noneautotype1.1.351.1.361.1.371.1.381.1.391.1.401.1.411.1.41.sec011.1.41.sec041.1.41.sec061.1.41.sec101.1.42 |
1.2.48 |
History
| Recorded | Changed | Sources |
|---|---|---|
| first indexed | CVE List, EUVD, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2025-70974 is a critical vulnerability (CVSS 10.0) in Alibaba Fastjson, published January 9, 2026. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.75%, the 55th percentile. Fixed in com.alibaba:fastjson 1.2.48.
References
github.com/alibaba/fastjson/compare/1.2.47...1.2.48
seebug.org/vuldb/ssvid-98020
cnvd.org.cn/flaw/show/CNVD-2019-22238
freebuf.com/vuls/208339.html
github.com/vulhub/vulhub/tree/master/fastjson/1.2.47-rce
cloudsek.com/blog/androxgh0st-continues-exploitation-operators-compromise-a-us-university-for-hosting-c2-logger
Show 9 moreShow less
cert.360.cn/warning/detail?id=7240aeab581c6dc2c9c5350756079955
access.redhat.com/security/cve/CVE-2025-70974
bugzilla.redhat.com/show_bug.cgi?id=2428203
security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-70974.json
nvd.nist.gov/vuln/detail/CVE-2025-70974
web.archive.org/web/20220121055754/https://cert.360.cn/warning/detail?id=7240aeab581c6dc2c9c5350756079955
github.com/advisories/GHSA-jm7w-5684-pvh8
github.com/CVEProject/cvelistV5/tree/main/cves/2025/70xxx/CVE-2025-70974.json
github.com/alibaba/fastjson
Left out here: 130 versions. The JSON record has them.