CVE-2025-68437
Medium · 4.9Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload Mutation
CVSS
4.9
EPSS
0.5%
Published
Jan 5, 2026
CISA due date
—
The record
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.References: https://github.com/craftcms/cms/commit/013db636fdb38f3ce5657fd196b6d952f98ebc52 https://github.com/craftcms/cms/blob/5.x/CHANGELOG.md
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Packagist | craftcms/cms | 3.5.0 | 4.16.17 |
| Packagist | craftcms/cms | 5.0.0-RC1 | 5.8.21 |
| packagist | craftcms/cms | 3.5.0 | 4.16.17 |
| packagist | craftcms/cms | 5.0.0-RC1 | 5.8.21 |
Related vulnerabilities
- GHSA-x27p-wfqw-hfcc Craft CMS vulnerable to Server-Side Request Forgery (SSRF) via GraphQL Asset Upload… Same vulnerability
- GHSA-234q-vvw3-mrfq Craft CMS has unauthenticated activation email trigger with potential user enumeration Also affects craftcms/cms
- CVE-2026-29069 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28696 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28781 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28784 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28782 Craft is a content management system (CMS). Also affects craftcms/cms
- CVE-2026-28783 Craft is a content management system (CMS). Also affects craftcms/cms