CVE-2025-70974Alibaba Fastjson
Critical 10.0 No auth needed
Follow: this CVE · Alibaba · Alibaba Fastjson We alert you by email or Slack (account required).
- Priority
- 75
- CVSS 3.1
- 10.0
- EPSS
- —
- Auth required
- No
- Published
- Jan 9, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-829
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for Fastjson.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | com.alibaba:fastjson |
< 1.2.48 |
1.2.48 |
— |
Per OSV / GitHub Advisories (GHSA-jm7w-5684-pvh8). Check the version in your lockfile before upgrading.
Affected products
- Alibaba · Fastjson
- Red Hat · OpenShift Service Mesh 2
- Red Hat · Red Hat build of Apache Camel for Spring Boot 4
- Red Hat · Red Hat build of Debezium 2
- Red Hat · Red Hat build of Debezium 3
- Red Hat · Red Hat Fuse 7
- Red Hat · Red Hat JBoss Enterprise Application Platform 8
- Red Hat · Red Hat JBoss Enterprise Application Platform Expansion Pack
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.