PT-2026-7142 · Craft Cms · Craft Cms
Leftenantzero
·
Published
2026-02-09
·
Updated
2026-02-09
·
CVE-2026-25492
CVSS v3.1
6.5
Medium
| Vector | AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
Name of the Vulnerable Software and Affected Versions
Craft CMS versions 3.5.0 through 4.16.17
Craft CMS versions 5.0.0-RC1 through 5.8.21
Description
The
save images Asset GraphQL mutation in Craft CMS can be exploited to fetch internal URLs. This is possible by providing a domain name that resolves to an internal IP address, which bypasses hostname validation. If non-image file extensions, such as .txt, are permitted, downstream image validation is bypassed. This allows an authenticated attacker with appropriate permissions to use the save images Asset mutation to retrieve sensitive data, such as AWS instance metadata credentials, from the underlying host. The vulnerable mutation is accessed via the GraphQL API endpoint /graphql. The domain parameter is used to provide the domain name that resolves to an internal IP address.Recommendations
Update to Craft CMS version 4.16.18 or later.
Update to Craft CMS version 5.8.22 or later.
Exploit
Fix
SSRF
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Craft Cms