{"id":"CVE-2026-25492","published":"2026-02-09T19:33:24Z","modified":"2026-02-10T16:00:41Z","title":"Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host","vendor":"Craft CMS","product":"cms","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.3,"severity":"MEDIUM","version":"4.0","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00518,"percentile":0.37328,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":7.47},{"name":"CVSS severity","points":3.71}]},"vendorSlug":"craft-cms","affectedVersions":[{"vendor":"craftcms","product":"cms","versions":[">= 5.0.0-RC1, < 5.8.22",">= 3.5.0, < 4.16.18"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-02-10T15:30:21.159141Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Packagist","package":"craftcms/craft","vulnerableRanges":[">=5.0.0-RC1, <5.8.22",">=3.5.0, <4.16.18"],"patched":["5.8.22","4.16.18"],"from":["GHSA-96pq-hxpw-rgh8"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-6839","exploited":false,"provenance":"source"}}