# CVE-2025-68437: Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutation

- Severity: Medium 5.0 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.47%, higher than 42% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-01-05T18:02:37.000Z
- Modified: 2026-10-07T10:10:00.213Z
- Also known as: GHSA-x27p-wfqw-hfcc
- Related: CVE-2026-27127, CVE-2026-27129
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- craftcms cms: >= 5.0.0-RC1, < 5.8.21; >= 4.0.0-RC1, < 4.16.17
- craftcms/cms (Packagist): from 5.0.0-RC1 before 5.8.21; from 3.5.0 before 4.16.17
- craftcms craft_cms: from 3.5.0 before 4.16.17; from 5.0.1 before 5.8.21; 5.0.0

## Every score

- GitHub_M: CVSS:4.0 5.0 Medium `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`
- GitHub: CVSS:4.0 Medium `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: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:N/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-x27p-wfqw-hfcc> (exploit, vendor-advisory, web)
- <https://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52> (patch, web)
- <https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md#5821---2025-12-04> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68437> (advisory)
- <https://github.com/craftcms/cms> (package)

## Sources

- CVE List: [CVE-2025-68437](https://www.cve.org/CVERecord?id=CVE-2025-68437), CVE Terms of Use, modified 2026-01-06
- GitHub Advisory Database: [GHSA-x27p-wfqw-hfcc](https://github.com/advisories/GHSA-x27p-wfqw-hfcc), CC-BY-4.0, modified 2026-02-24
- NVD: [CVE-2025-68437](https://nvd.nist.gov/vuln/detail/CVE-2025-68437), Public domain, modified 2026-10-07

---

Page: https://cve.day/CVE-2025-68437 · Whole record: https://cve.day/CVE-2025-68437.json · Rebuilt by cve.day 2026-11-25T22:59:10.303Z
