CVE-2025-68437
MEDIUM 5.0CVSS 4.0Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutation
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.
- Published
- 5 Jan 2026
- Last modified
- 7 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-918
- Also known as
- GHSA-x27p-wfqw-hfcc
- Sources
- NVDJSONOSV GHSA-x27p-wfqw-hfccJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | MEDIUM 5.0 | 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 |
| OSV | GitHub | CVSS 4.0 | 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 | |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 3.5.0, < 4.16.17 | 4.16.17 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:* |
>= 5.0.1, < 5.8.21 | 5.8.21 |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:5.0.0:-:*:*:*:*:*:* |
= 5.0.0 | |
| NVD | craftcms | craft_cmscpe:2.3:a:craftcms:craft_cms:5.0.0:rc1:*:*:*:*:*:* |
= 5.0.0 | |
| OSV | Packagist | craftcms/cms | >= 5.0.0-RC1, < 5.8.21 | 5.8.21 |
| OSV | Packagist | craftcms/cms | >= 3.5.0, < 4.16.17 | 4.16.17 |
References
- https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04 · Product, Release Notes, WEB
- https://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52 · Patch, WEB
- https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc · Exploit, Vendor Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2025-68437 · ADVISORY
- https://github.com/craftcms/cms · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 5 Jan 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 5 Jan 2026)