10.0
CRITICAL CVSS 3.1
CVE-2025-70974
Fastjson JNDI Injection Vulnerability
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.

INFO

Published Date :

Jan. 9, 2026, 7:16 a.m.

Last Modified :

Jan. 9, 2026, 7:16 a.m.

Remotely Exploit :

Yes !
Affected Products

The following products are affected by CVE-2025-70974 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Alibaba fastjson
CVSS Scores
The Common Vulnerability Scoring System is a standardized framework for assessing the severity of vulnerabilities in software and systems. We collect and displays CVSS scores from various sources for each CVE.
Score Version Severity Vector Exploitability Score Impact Score Source
CVSS 3.1 CRITICAL 8254265b-2729-46b6-b9e3-3dfca2d5bfca
CVSS 3.1 CRITICAL [email protected]
Solution
Update Fastjson to resolve JNDI injection vulnerabilities by properly handling autoType parsing.
  • Update Fastjson to version 1.2.48 or later.
  • Disable autoType parsing if possible.
  • Sanitize JSON input for @type fields.
  • Validate JNDI references carefully.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2025-70974 is associated with the following CWEs:

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2025-70974 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2025-70974 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • New CVE Received by [email protected]

    Jan. 09, 2026

    Action Type Old Value New Value
    Added 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.
    Added CVSS V3.1 AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    Added CWE CWE-829
    Added Reference https://cert.360.cn/warning/detail?id=7240aeab581c6dc2c9c5350756079955
    Added Reference https://github.com/alibaba/fastjson/compare/1.2.47...1.2.48
    Added Reference https://github.com/vulhub/vulhub/tree/master/fastjson/1.2.47-rce
    Added Reference https://www.cloudsek.com/blog/androxgh0st-continues-exploitation-operators-compromise-a-us-university-for-hosting-c2-logger
    Added Reference https://www.cnvd.org.cn/flaw/show/CNVD-2019-22238
    Added Reference https://www.freebuf.com/vuls/208339.html
    Added Reference https://www.seebug.org/vuldb/ssvid-98020
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
Vulnerability Scoring Details
Base CVSS Score: 10
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality Impact
Integrity Impact
Availability Impact