Skip to main content
EPSS 0.8%top 47%

CVE-2025-70974: CWE-829 Inclusion of Functionality from Untrusted Control Sphere in Alibaba Fastjson

0
Critical
VulnerabilityCVE-2025-70974cvecve-2025-70974cwe-829
Published: 01/09/2026 (01/09/2026, 06:43:23 UTC)
Source: CVE Database V5
Vendor/Project: Alibaba
Product: Fastjson

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.

CVSS v3.1

Score 10.0critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Affected software

Alibaba

Fastjson

Affected versions
>=0 <1.2.48
com.alibaba/fastjson
pkg:maven/com.alibaba/fastjson
Affected versions
=0<1.2.48

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/15/2026, 08:23:05 UTC

Technical Analysis

Alibaba Fastjson versions prior to 1.2.48 mishandle the autoType feature, allowing an attacker to craft JSON input with an @type key that names a Java class. This can trigger calls to public methods of that class, which depending on their behavior, may lead to JNDI injection attacks using attacker-supplied payloads embedded elsewhere in the JSON document. This vulnerability stems from an incomplete fix of CVE-2017-18349 and has been exploited in the wild from 2023 to 2025. The CVSS 3.1 base score is 10.0 (critical), reflecting network attack vector, no privileges required, no user interaction, and complete confidentiality, integrity, and availability impact. The Red Hat advisory linked does not explicitly mention patch availability in the provided content, so patch status is not confirmed here.

Potential Impact

Successful exploitation can lead to remote code execution via JNDI injection, resulting in full compromise of affected systems. The vulnerability affects confidentiality, integrity, and availability with critical severity. It has been exploited in the wild, indicating active threat. Systems using vulnerable Fastjson versions are at high risk of compromise.

Mitigation Recommendations

Patch status is not explicitly confirmed in the provided vendor advisory content. Users should check the Red Hat advisory at https://access.redhat.com/security/cve/CVE-2025-70974 for the latest remediation guidance. Upgrading Fastjson to version 1.2.48 or later is expected to address the issue, as the vulnerability affects versions before 1.2.48. Until patched, avoid processing untrusted JSON input with autoType enabled or disable autoType functionality if possible.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
mitre
Date Reserved
2026-01-09T06:43:23.338Z
Cvss Version
3.1
State
PUBLISHED
Vendor Advisory Urls
[{"url":"https://access.redhat.com/security/cve/CVE-2025-70974","vendor":"Red Hat"}]

Threat ID: 6960a6a3ecefc3cd7c0ce3f6

Added to database: 01/09/2026, 06:56:35 UTC

Last enriched: 07/15/2026, 08:23:05 UTC

Last updated: 09/10/2026, 22:27:34 UTC

Views: 778

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses