Skip to main content
Exploitation reportedNot in CISA KEV yetFix available

CVE-2025-70974

fastjson: From CVEorg collector

Exploitation reported by one source. First attested on 2026-06-01 by GCVE · kevintel.

  • Published2026-01-09
  • Fixed in1.2.48
  • WeaknessCWE-829

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2026-01-0907:16CVE publishedNVD
  2. 2026-06-0110:48Listed as exploited by GCVEGCVE
  3. 2026-06-0110:48Exploitation first reportedGCVE

Observed activity

isMalicious corpus · updated 2026-11-03 15:37 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2025-70974?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2025-70974?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

OSV
fastjson
BranchAffectedFixed in
1.2< 1.2.481.2.48

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As mitre, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • Alibaba Fastjsonother versions: not affected
    Affected
    • < 1.2.48fixed in 1.2.48custom

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2026-01-09

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Vendor advisories

  • CVE-2025-70974 Red Hat Product Security

    fastjson: Fastjson: Remote Code Execution via JNDI Injection due to autoType mishandling

Full record on NVD

Fix

  1. Update fastjson to 1.2.48

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
none listed
PoC-in-GitHub
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVE recordread 2026-10-23
  • GCVEexploitation2026-06-01
  • CISA-ADPSSVC decisionpoc2026-01-09
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.110known since 2026-10-23
  • CNAweakness (CWE)CWE-829known since 2026-10-23
  • FIRST EPSSEPSS score0.7 %2026-11-03
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryCRITICAL2026-01-09

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Published
2026-01-09
Last Modified
2026-07-15
NVD status
Deferred
GitHub Advisory
GHSA-jm7w-5684-pvh8

Frequently asked questions

What is CVE-2025-70974?

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.

Is CVE-2025-70974 actively exploited?

A proof-of-concept exploit exists for CVE-2025-70974, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2025-70974?

CVE-2025-70974 has a CVSS v3 base score of 10 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

Running fastjson? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record