CVE-2026-25492 Details
Description
Craft CMS is a content management system. In Craft versions 3.5.0 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the save_images_Asset GraphQL mutation can be abused to fetch internal URLs by providing a domain name that resolves to an internal IP address, bypassing hostname validation. When a non-image file extension such as .txt is allowed, downstream image validation is bypassed, which can allow an authenticated attacker with permission to use save_images_Asset to retrieve sensitive data such as AWS instance metadata credentials from the underlying host. This issue is patched in versions 4.16.18 and 5.8.22.
A vulnerability exists in Craft CMS versions 3.5.0 through 4.16.17 and 5.0.0-RC1 through 5.8.21, allowing authenticated attackers to abuse the 'save_images_Asset' GraphQL mutation. This exploitation involves bypassing hostname validation to fetch internal URLs by providing a domain that resolves to an internal IP address. When non-image file extensions like .txt are permitted, this bypasses standard image validation, enabling the retrieval of sensitive data such as AWS instance metadata credentials from the host.
Users can update to Craft CMS versions 4.16.18 or 5.8.22, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 10, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff | [email protected] | Patch |
| https://github.com/craftcms/cms/releases/tag/5.8.22 | [email protected] | ProductRelease Notes |
| https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8 | [email protected] | ExploitPatchVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| craftcms craft cms | >= 3.5.0, < 4.16.18 >= 5.0.0, < 5.8.22 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 19, 2026 | Initial Analysis | [email protected] |
| Feb 9, 2026 | New CVE Received | [email protected] |