# CVE-2026-25492: Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- 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.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-09T19:33:24.366Z
- Modified: 2026-09-10T03:50:34.511Z
- Also known as: GHSA-96pq-hxpw-rgh8
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- craftcms cms: >= 5.0.0-RC1, < 5.8.22; >= 3.5.0, < 4.16.18
- craftcms/craft (Packagist): from 5.0.0-RC1 before 5.8.22; from 3.5.0 before 4.16.18
- craftcms craft_cms: from 3.5.0 before 4.16.18; from 5.0.0 before 5.8.22

## Every score

- GitHub_M: CVSS:4.0 5.3 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- GitHub: CVSS:4.0 Medium `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8> (exploit, patch, vendor-advisory, web)
- <https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff> (patch, web)
- <https://github.com/craftcms/cms/releases/tag/5.8.22> (product, release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25492> (advisory)
- <https://github.com/craftcms/cms> (package)
- <https://github.com/craftcms/cms/releases/tag/4.16.18> (web)

## Sources

- CVE List: [CVE-2026-25492](https://www.cve.org/CVERecord?id=CVE-2026-25492), CVE Terms of Use, modified 2026-02-10
- GitHub Advisory Database: [GHSA-96pq-hxpw-rgh8](https://github.com/advisories/GHSA-96pq-hxpw-rgh8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-25492](https://nvd.nist.gov/vuln/detail/CVE-2026-25492), Public domain, modified 2026-06-17

---

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