CVE-2025-70974
Last modified
CVE-2025-70974 is a critical-severity vulnerability rated 10/10 on the CVSS scale. 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. EPSS estimates a 0.69% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness Enumeration
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2025-70974?
How severe is CVE-2025-70974?
How do I fix CVE-2025-70974?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2025
- CVE-2025-70960A stored cross-site scripting (XSS) vulnerability in the For…5.4
- CVE-2025-70962Zosi C519M V4.2.8.823C01450BA is vulnerable to Incorrect Acc…7.5
- CVE-2025-70963Gophish <=0.12.1 is vulnerable to Incorrect Access Control. …7.6
- CVE-2025-70968FreeImage 3.18.0 contains a Use After Free in PluginTARGA.cp…9.8
- CVE-2025-7097A vulnerability, which was classified as critical, has been …8.8
- CVE-2025-70973ScadaBR 1.12.4 is vulnerable to Session Fixation. The applic…4.8
- CVE-2025-7098A vulnerability, which was classified as critical, was found…8.8
- CVE-2025-70981CordysCRM 1.4.1 is vulnerable to SQL Injection in the employ…9.8
- CVE-2025-70982Incorrect access control in the importUser function of Sprin…9.9
- CVE-2025-70983Incorrect access control in the authRoutes function of Sprin…9.9
- CVE-2025-70985Incorrect access control in the update function of RuoYi v4.…9.1
- CVE-2025-70986Incorrect access control in the selectDept function of RuoYi…7.5
Are you affected by CVE-2025-70974?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
