CVE-2025-57811Craftcms Craft Cms
Medium 6.1
Follow: this CVE · Craftcms · Craftcms Craft Cms We alert you by email or Slack (account required).
- Priority
- 37
- CVSS 4.0
- 6.1
- EPSS
- —
- Auth required
- Yes
- Published
- Aug 25, 2025
- Updated
- Jun 17, 2026
- Category
- Web application · Cross-platform
- Weakness (CWE)
- CWE-1336
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
Craft is a platform for creating digital experiences. From versions 4.0.0-RC1 to 4.16.5 and 5.0.0-RC1 to 5.8.6, there is a potential remote code execution vulnerability via Twig SSTI (Server-Side Template Injection). This is a follow-up to CVE-2024-52293. This vulnerability has been patched in versions 4.16.6 and 5.8.7.
What to do
- Apply the vendor's security update for Craft Cms.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | craftcms/cms |
≥ 4.0.0-RC1 < 4.16.6 |
4.16.6 |
composer require "craftcms/cms:^4.16.6" |
| Packagist | craftcms/cms |
≥ 5.0.0-RC1 < 5.8.7 |
5.8.7 |
composer require "craftcms/cms:^5.8.7" |
Per OSV / GitHub Advisories (GHSA-crcq-738g-pqvc). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| craftcms | craft_cms | ≥ 4.1.0 < 4.16.6 |
| craftcms | craft_cms | ≥ 5.1.0 < 5.8.7 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 4.0.0 |
| craftcms | craft_cms | 5.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Patch
- github.com Vendor Advisory