Live threats

All CVEs / Craftcms

CVE-2025-68437Craftcms Craft Cms

Medium 5.0

Priority
30
CVSS 4.0
5.0
EPSS
—
Auth required
Yes
Published
Jan 5, 2026
Updated
Oct 7, 2026
Category
Web application · Cross-platform
Weakness (CWE)
CWE-918
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:H/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Craft is a platform for creating digital experiences. In versions 5.0.0-RC1 through 5.8.20 and 4.0.0-RC1 through 4.16.16, the Craft CMS GraphQL `save_<VolumeName>_Asset` mutation is vulnerable to Server-Side Request Forgery (SSRF). This vulnerability arises because the `_file` input, specifically its `url` parameter, allows the server to fetch content from arbitrary remote locations without proper validation. Attackers can exploit this by providing internal IP addresses or cloud metadata endpoints as the `url`, forcing the server to make requests to these restricted services. The fetched content is then saved as an asset, which can subsequently be accessed and exfiltrated, leading to potential data exposure and infrastructure compromise. This exploitation requires specific GraphQL permissions for asset management within the targeted volume. Users should update to the patched 5.8.21 and 4.16.17 releases to mitigate the issue.

Original NVD text.

What to do

  1. Apply the vendor's security update for Craft Cms.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist craftcms/cms ≥ 5.0.0-RC1 < 5.8.21 5.8.21 composer require "craftcms/cms:^5.8.21"
Packagist craftcms/cms ≥ 3.5.0 < 4.16.17 4.16.17 composer require "craftcms/cms:^4.16.17"

Per OSV / GitHub Advisories (GHSA-x27p-wfqw-hfcc). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
craftcmscraft_cms≥ 3.5.0 < 4.16.17
craftcmscraft_cms≥ 5.0.1 < 5.8.21
craftcmscraft_cms5.0.0
craftcmscraft_cms5.0.0

Official sources

References

Links published by the sources. Open them with care.