Back to overview

CVE-2025-70974

CRITICAL Exploitation: PoC
10.0
CVSS 3.1
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.

Metadata

CVE ID
CVE-2025-70974
State
PUBLISHED
Assigner
mitre
Reserved
2026-01-09 06:43 UTC
Published
2026-01-09 06:43 UTC
Last updated
2026-07-15 11:47 UTC
Primary CWE
CWE-829
CWE-829 Inclusion of Functionality from Untrusted Control Sp…
Vendor / Product
Alibaba / Fastjson
Sources
cve.org  ·  NVD

Severity & Metrics

10.0 CRITICAL CVSS 3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
SSVC — CISA Coordinator
Exploitation
PoC
Automatable
yes
Tech. Impact
total
Affected products (1)
VendorProductPlatformVersions
Alibaba Fastjson 0 < 1.2.48
Weakness (CWE)
CWESourceDescription
CWE-829 cna CWE-829 Inclusion of Functionality from Untrusted Control Sphere
CWE-829 adp Inclusion of Functionality from Untrusted Control Sphere
CVSS scores (2)
ScoreSeverityVersionSourceVector
10.0 CRITICAL 3.1 cna CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
10.0 CRITICAL 3.1 adp CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Back to overview