CVE-2026-25492
published medium CVSS 4.0 · 5.3Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms>= 5.0.0-RC1, < 5.8.22 · >= 3.5.0, < 4.16.18 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- 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
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | >= 5.0.0-RC1, < 5.8.22 (affected)>= 3.5.0, < 4.16.18 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-918 CWE-918: Server-Side Request Forgery (SSRF)
References
3Provider assertions
2GitHub_M · cna
Craft has a save_images_Asset graphql mutation can be abused to exfiltrate AWS credentials of underlying host
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- bb20060092ca06ec215e9ce45c3f4afad4e0c9792450c39ebd09fc5e579e4280
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record