CVE-2025-70974
CRITICAL 10.0CVSS 3.1FASTJSON 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.
- Published
- 9 Jan 2026
- Last modified
- 5 Oct 2026
- Assigned by
- cve@mitre.org
- NVD status
- Deferred
- Weakness
- CWE-829
- Also known as
- GHSA-jm7w-5684-pvh8
- Sources
- NVDJSONOSV GHSA-jm7w-5684-pvh8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | cve@mitre.org (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 0b0ca135-0b70-47e7-9f44-1890c2a1c46c (Secondary) | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | com.alibaba:fastjson | < 1.2.48 | 1.2.48 |
References
- https://cert.360.cn/warning/detail?id=7240aeab581c6dc2c9c5350756079955
- https://github.com/alibaba/fastjson/compare/1.2.47...1.2.48 · WEB
- https://github.com/vulhub/vulhub/tree/master/fastjson/1.2.47-rce · WEB
- https://www.cloudsek.com/blog/androxgh0st-continues-exploitation-operators-compromise-a-us-university-for-hosting-c2-logger · WEB
- https://www.cnvd.org.cn/flaw/show/CNVD-2019-22238 · WEB
- https://www.freebuf.com/vuls/208339.html · WEB
- https://www.seebug.org/vuldb/ssvid-98020 · WEB
- https://access.redhat.com/security/cve/CVE-2025-70974 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2428203 · WEB
- https://security.access.redhat.com/data/csaf/v2/vex/2025/cve-2025-70974.json
- https://nvd.nist.gov/vuln/detail/CVE-2025-70974 · ADVISORY
- https://github.com/alibaba/fastjson · PACKAGE
- https://web.archive.org/web/20220121055754/https://cert.360.cn/warning/detail?id=7240aeab581c6dc2c9c5350756079955 · WEB
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 9 Jan 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 9 Jan 2026)