CVE-2026-25493
published medium CVSS 4.0 · 6.9Craft has a SSRF in GraphQL Asset Mutation via HTTP Redirect
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms>= 5.0.0-RC1, < 5.8.22 · >= 4.0.0-RC1, < 4.16.18 | Affected | Not stated | GitHub_M |
Description
Craft is a platform for creating digital experiences. In Craft versions 4.0.0-RC1 through 4.16.17 and 5.0.0-RC1 through 5.8.21, the saveAsset GraphQL mutation validates the initial URL hostname and resolved IP against a blocklist, but Guzzle follows HTTP redirects by default. An attacker can bypass all SSRF protections by hosting a redirect that points to cloud metadata endpoints or any internal IP addresses. 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
- 6.9 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/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)>= 4.0.0-RC1, < 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 SSRF in GraphQL Asset Mutation via HTTP Redirect
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- deade2ccdb8afbc4ae520357abbbc80a55610a3bb8a4d142741ca1d63ccab272
- Ingested
- 23 Sep 2026, 09:06:52 UTC
- Source record
- Official CVE record