{"id":"CVE-2026-25492","state":"PUBLISHED","title":"Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host","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.","publishedAt":"2026-02-09T19:33:24.366Z","updatedAt":"2026-02-10T16:00:41.366Z","severity":{"score":5.3,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 5.0.0-RC1, < 5.8.22","status":"affected"},{"version":">= 3.5.0, < 4.16.18","status":"affected"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8","https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff","https://github.com/craftcms/cms/releases/tag/5.8.22"],"weaknesses":["CWE-918"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/25xxx/CVE-2026-25492.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-25492","state":"PUBLISHED","datePublished":"2026-02-09T19:33:24.366Z","dateUpdated":"2026-02-10T16:00:41.366Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-02-02T16:31:35.823Z"},"containers":{"cna":{"title":"Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"craftcms","product":"cms","versions":[{"version":">= 5.0.0-RC1, < 5.8.22","status":"affected"},{"version":">= 3.5.0, < 4.16.18","status":"affected"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8","name":"https://github.com/craftcms/cms/security/advisories/GHSA-96pq-hxpw-rgh8","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff","name":"https://github.com/craftcms/cms/commit/e838a221df2ab15cd54248f22fc8355d47df29ff","tags":["x_refsource_MISC"]},{"url":"https://github.com/craftcms/cms/releases/tag/5.8.22","name":"https://github.com/craftcms/cms/releases/tag/5.8.22","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"LOW","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-918","lang":"en","description":"CWE-918: Server-Side Request Forgery (SSRF)","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-02-09T19:33:24.366Z"},"source":{"advisory":"GHSA-96pq-hxpw-rgh8","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-02-10T15:30:21.159141Z","id":"CVE-2026-25492","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-02-10T16:00:41.366Z"}}]}}}