PoC Monitor
← All CVEs
CVE-2025-32432published 25 Apr 2025 15:04 UTCData: JSON · API

CMS

Craft CMS Allows Remote Code Execution

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. 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.

First public PoC 1.4 daysafter publication · 26 Apr 2025
Public PoCs2017 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS10.0critical · scored by CNA · CWE-94
CISA KEV 20 Mar 2026329 days after publication

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

craftcms cms
  • >= 3.0.0-RC1, < 3.9.15
  • >= 4.0.0-RC1, < 4.14.15
  • >= 5.0.0-RC1, < 5.6.17

Fixed in 3.9.15, 4.14.15, 5.6.17

Timeline

Days relative to CVE publication
t=0+60+120+180+240+300CVE published25 Apr 2025 · t = 0First public PoC26 Apr 2025 · t+1.4dAdded to CISA KEV20 Mar 2026 · t+329d

First public PoC 1.4 days after publication; added to CISA KEV 329 days after publication. First PoC: Chocapikk/CVE-2025-32432 (created 26 Apr 2025, found by us: backfilled).

PoC repositories

Found on GitHub.

17 PoCs · 1 pending · 1 informational · 1 suspicious or fake

PoCs 17
RepositoryCreatedFound by usStarsAssessment
Chocapikk/CVE-2025-32432 26 Apr 2025 +1.4 d backfilled 10 PoC
Sachinart/CVE-2025-32432 27 Apr 2025 +1.7 d backfilled 27 PoC
CTY-Research-1/CVE-2025-32432-PoC 1 Jun 2025 +37 d backfilled 8 PoC
Flags · score 30
  • owner account created less than 7 days before the repo

Below the suspicion threshold (50); does not change the assessment.

bambooqj/CVE-2025-32432 23 Sep 2025 +151 d backfilled 2 PoC
TheMursalin/CVE-2025-32432 30 Apr 2026 +1.0 y backfilled 0 PoC
cd-ratel/CVE-2025-32432 15 May 2026 +1.1 y backfilled 2 PoC
n40y/PoC_CVE-2025-32432 24 Jun 2026 +1.2 y backfilled 0 PoC
c0gnit00/CVE-2025-32432 21 Jul 2026 +1.2 y backfilled 6 PoC
theeomega/CVE-2025-32432-POC 23 Jul 2026 +1.2 y backfilled 0 PoC
HeltonPojo/CVE-2025-32432 30 Jul 2026 +1.3 y backfilled 0 PoC
Collinformatics/HTB-Orion 2 Aug 2026 +1.3 y backfilled 0 PoC
EzraMansor/CVE-2025-32432-PoC 7 Aug 2026 +1.3 y backfilled 0 PoC
Si13NTTT/CVE-2025-32432 14 Sep 2026 +1.4 y backfilled 0 PoC
e5dfdd568a75282b712b6d93a7a18e12/CVE-2025-32432 14 Sep 2026 +1.4 y backfilled 0 PoC
P34NUT2/CVE-2025-32432-exploit-by-P34NUT 16 Sep 2026 +1.4 y backfilled 8 PoC
l0lsuit/CVE-2025-32432-craftcms-rce 12 Oct 2026 +1.5 y backfilled 0 PoC
godylockz/CVE-2025-32432 11 Nov 2026 +1.5 y 14 Nov 2026 1 PoC
Pending 1
RepositoryCreatedStarsAssessment
B1ack4sh/Blackash-CVE-2025-32432 unknown 0 Pending · repository unavailable (HTTP 404)
Informational 1
RepositoryCreatedStarsAssessment
Acczdy/CVE-Vault 8 Mar 2026 +317 d 0 Informational · list
Suspicious or fake 1
RepositoryCreatedStarsAssessment
apostolovd/PoCs 31 May 2025 +36 d 1 Fake

Only PoCs count toward the first-PoC date and the characteristics below. "Backfilled" means we found the repository more than 30 days after it was created. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 17 PoC repos

POST /index.php

Query
p=admin/actions/assets/generate-transform p=admin/dashboard a= cmd= MARKER.rstrip("=")=<?=shell_exec({var}['cmd']);exit;?> p=actions/assets/generate-transform cmd=id cmd=whoami a=<?=exec({var}['cmd']);die();?>
Key headers
Accept: application/json Cookie: CraftSessionId=abc123 X-Csrf-Token: {var} X-Csrf-Token: xyz789 X-Csrf-Token: BOGUS
Body markers
"assetId" "handle" "width" "height" "as test" "class" "__class" "__construct()" "_fn_close":"phpinfo" "as hack" "itemFile":"/var/lib/php/sessions/sess_abc123" in application/json
Ports
8080, 8088
Seen in
10 repos: CTY-Research-1/CVE-2025-32432-PoC, Collinformatics/HTB-Orion, P34NUT2/CVE-2025-32432-exploit-by-P34NUT, Si13NTTT/CVE-2025-32432, bambooqj/CVE-2025-32432, c0gnit00/CVE-2025-32432, e5dfdd568a75282b712b6d93a7a18e12/CVE-2025-32432, godylockz/CVE-2025-32432, l0lsuit/CVE-2025-32432-craftcms-rce, n40y/PoC_CVE-2025-32432
Evidence
CTY-Research-1/CVE-2025-32432-PoC/craftcms_final_payload.py:40 CTY-Research-1/CVE-2025-32432-PoC/craftcms_final_payload.py:94 Collinformatics/HTB-Orion/exploit.py:110 Collinformatics/HTB-Orion/exploit.py:144 P34NUT2/CVE-2025-32432-exploit-by-P34NUT/craftcms_rce_exploit_php.py:97 P34NUT2/CVE-2025-32432-exploit-by-P34NUT/craftcms_rce_exploit_php.py:166

GET /index.php

Query
p=admin/dashboard a= a=<?=exec({var}['cmd']);die()?> cve202532432=<?=shell_exec({var}['cmd']);exit;?> MARKER.rstrip("=")=<?=shell_exec({var}['cmd']);exit;?> a=<?=passthru({var}["cmd"]);die()?> p=admin/actions/users/session-info p=admin/login p=actions/users/session-info a=<?=exec({var}['cmd']);die();?>
Key headers
Accept: application/json Cookie: CraftSessionId={var} Cookie: CraftSessionId=abc123 X-Requested-With: XMLHttpRequest
Body markers
# Session file stores: returnUrl|s:107:"...&cve202532432=%3C%3F%3Dshell_exec%28%24_GET%5B%27cmd%27%5D%29%3Bexit%3B%3F%3E # Session file stores: returnUrl|s:107:"...&cve202532432=<?=shell_exec({var}['cmd']);exit;?>" # When require()'d, PHP ex
Ports
8080, 8088
Seen in
9 repos: CTY-Research-1/CVE-2025-32432-PoC, EzraMansor/CVE-2025-32432-PoC, P34NUT2/CVE-2025-32432-exploit-by-P34NUT, Si13NTTT/CVE-2025-32432, c0gnit00/CVE-2025-32432, e5dfdd568a75282b712b6d93a7a18e12/CVE-2025-32432, godylockz/CVE-2025-32432, l0lsuit/CVE-2025-32432-craftcms-rce, n40y/PoC_CVE-2025-32432
Evidence
CTY-Research-1/CVE-2025-32432-PoC/craftcms_final_payload.py:56 EzraMansor/CVE-2025-32432-PoC/main.go:37 P34NUT2/CVE-2025-32432-exploit-by-P34NUT/craftcms_rce_exploit_php.py:137 P34NUT2/CVE-2025-32432-exploit-by-P34NUT/craftcms_rce_exploit_php.py:206 Si13NTTT/CVE-2025-32432/README.md:81 Si13NTTT/CVE-2025-32432/README.md:89

POST /actions/assets/generate-transform

Query
cmd=python3 -c 'import socket,subprocess,os; s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect(("
Key headers
Cookie: CraftSessionId=%v; CRAFT_CSRF_TOKEN=%v X-Csrf-Token: {var}
Body markers
"assetId" "handle" in application/json
Ports
3230
PoC User-Agent
CVE-2025-32432-PoC/1.0
Seen in
3 repos: EzraMansor/CVE-2025-32432-PoC, TheMursalin/CVE-2025-32432, cd-ratel/CVE-2025-32432
Evidence
EzraMansor/CVE-2025-32432-PoC/main.go:148 TheMursalin/CVE-2025-32432/exploit.py:85 TheMursalin/CVE-2025-32432/exploit.py:142 cd-ratel/CVE-2025-32432/exploit.py:128

POST /cms/actions/assets/generate-transform

Body markers
"assetId" "handle" "width" "height" in application/json
Ports
8088
Seen in
2 repos: Si13NTTT/CVE-2025-32432, e5dfdd568a75282b712b6d93a7a18e12/CVE-2025-32432
Evidence
Si13NTTT/CVE-2025-32432/README.md:22 e5dfdd568a75282b712b6d93a7a18e12/CVE-2025-32432/README.md:22

GET /actions/users/session-info

Key headers
Accept: application/json
Ports
3230
PoC User-Agent
CVE-2025-32432-PoC/1.0
Seen in
1 repo: cd-ratel/CVE-2025-32432
Evidence
cd-ratel/CVE-2025-32432/exploit.py:76

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

POST /index.php
(?i)^/index\.php\?(?:.*&)?p=admin/actions/assets/generate-transform.*p=admin/dashboard.*a=.*cmd=.*MARKER\.rstrip\("="\)=<\?=shell_exec\(\{var\}\['cmd'\]\);exit;\?>.*p=actions/assets/generate-transform.*cmd=id.*cmd=whoami.*a=<\?=exec\(\{var\}\['cmd'\]\);die\(\);\?>
GET /index.php
(?i)^/index\.php\?(?:.*&)?p=admin/dashboard.*a=.*a=<\?=exec\(\{var\}\['cmd'\]\);die\(\)\?>.*cve202532432=<\?=shell_exec\(\{var\}\['cmd'\]\);exit;\?>.*MARKER\.rstrip\("="\)=<\?=shell_exec\(\{var\}\['cmd'\]\);exit;\?>.*a=<\?=passthru\(\{var\}\["cmd"\]\);die\(\)\?>.*p=admin/actions/users/session-info.*p=admin/login.*p=actions/users/session-info.*a=<\?=exec\(\{var\}\['cmd'\]\);die\(\);\?>
POST /actions/assets/generate-transform
(?i)^/actions/assets/generate-transform\?(?:.*&)?cmd=python3 -c 'import socket,subprocess,os; s=socket\.socket\(socket\.AF_INET,socket\.SOCK_STREAM\); s\.connect\(\("
GET /admin/login
(?i)^/admin/login(?:[?#].*)?$
GET /cms/
(?i)^/cms/(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

POST /index.php
alert http any any -> $HOME_NET [8080,8088] (msg:"GG PoC-Monitor CVE-2025-32432 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.uri; content:"p=admin/actions/assets/generate-transform"; http.uri; content:"p=admin/dashboard"; http.uri; content:"a="; http.uri; content:"cmd="; http.uri; content:"MARKER.rstrip(|22|=|22|)=<?=shell_exec({var}['cmd'])|3b|exit|3b|?>"; http.uri; content:"p=actions/assets/generate-transform"; http.uri; content:"cmd=id"; http.uri; content:"cmd=whoami"; http.uri; content:"a=<?=exec({var}['cmd'])|3b|die()|3b|?>"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Cookie: CraftSessionId=abc123"; nocase; http.header_names; content:"X-Csrf-Token"; nocase; http.header; content:"X-Csrf-Token: xyz789"; nocase; http.header; content:"X-Csrf-Token: BOGUS"; nocase; http.request_body; content:"|22|assetId|22|"; http.request_body; content:"|22|handle|22|"; http.request_body; content:"|22|width|22|"; http.request_body; content:"|22|height|22|"; http.request_body; content:"|22|as test|22|"; http.request_body; content:"|22|class|22|"; http.request_body; content:"|22|__class|22|"; http.request_body; content:"|22|__construct()|22|"; http.request_body; content:"|22|_fn_close|22|:|22|phpinfo|22|"; http.request_body; content:"|22|as hack|22|"; http.request_body; content:"|22|itemFile|22|:|22|/var/lib/php/sessions/sess_abc123|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-32432; classtype:web-application-attack; sid:9183809; rev:1;)
GET /index.php
alert http any any -> $HOME_NET [8080,8088] (msg:"GG PoC-Monitor CVE-2025-32432 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"p=admin/dashboard"; http.uri; content:"a="; http.uri; content:"a=<?=exec({var}['cmd'])|3b|die()?>"; http.uri; content:"cve202532432=<?=shell_exec({var}['cmd'])|3b|exit|3b|?>"; http.uri; content:"MARKER.rstrip(|22|=|22|)=<?=shell_exec({var}['cmd'])|3b|exit|3b|?>"; http.uri; content:"a=<?=passthru({var}[|22|cmd|22|])|3b|die()?>"; http.uri; content:"p=admin/actions/users/session-info"; http.uri; content:"p=admin/login"; http.uri; content:"p=actions/users/session-info"; http.uri; content:"a=<?=exec({var}['cmd'])|3b|die()|3b|?>"; http.header; content:"Accept: application/json"; nocase; http.header; content:"Cookie: CraftSessionId="; nocase; http.header; content:"Cookie: CraftSessionId=abc123"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"# Session file stores:
returnUrl|7c|s:107:|22|...&cve202532432=%3C%3F%3Dshell_exec%28%24_GET%5B%27cmd%27%5D%29%3Bexit%3B%3F%3E"; http.request_body; content:"# Session file stores:
returnUrl|7c|s:107:|22|...&cve202532432=<?=shell_exec("; reference:url,poc.griffinguard.io/cve/CVE-2025-32432; classtype:web-application-attack; sid:9357947; rev:1;)
POST /actions/assets/generate-transform
alert http any any -> $HOME_NET [3230] (msg:"GG PoC-Monitor CVE-2025-32432 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/actions/assets/generate-transform"; http.uri; content:"cmd=python3 -c 'import socket,subprocess,os|3b| s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)|3b| s.connect((|22|"; http.header; content:"Cookie: CraftSessionId=%v|3b| CRAFT_CSRF_TOKEN=%v"; nocase; http.header_names; content:"X-Csrf-Token"; nocase; http.request_body; content:"|22|assetId|22|"; http.request_body; content:"|22|handle|22|"; reference:url,poc.griffinguard.io/cve/CVE-2025-32432; classtype:web-application-attack; sid:9519499; rev:1;)
GET /admin/login
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-32432 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/login"; reference:url,poc.griffinguard.io/cve/CVE-2025-32432; classtype:web-application-attack; sid:9531688; rev:1;)
GET /cms/
alert http any any -> $HOME_NET [8088] (msg:"GG PoC-Monitor CVE-2025-32432 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cms/"; reference:url,poc.griffinguard.io/cve/CVE-2025-32432; classtype:web-application-attack; sid:9087117; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

POST /index.php
title: craftcms cms exploit attempt (CVE-2025-32432)
id: gg-pocmon-cve-2025-32432-9183809
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32432. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32432
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
    cs-uri-query|contains|all:
      - 'p=admin/actions/assets/generate-transform'
      - 'p=admin/dashboard'
      - 'a='
      - 'cmd='
      - 'MARKER.rstrip("=")=<?=shell_exec({var}[''cmd'']);exit;?>'
      - 'p=actions/assets/generate-transform'
      - 'cmd=id'
      - 'cmd=whoami'
      - 'a=<?=exec({var}[''cmd'']);die();?>'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32432
GET /index.php
title: craftcms cms exploit attempt (CVE-2025-32432)
id: gg-pocmon-cve-2025-32432-9357947
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32432. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32432
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/index.php'
    cs-uri-query|contains|all:
      - 'p=admin/dashboard'
      - 'a='
      - 'a=<?=exec({var}[''cmd'']);die()?>'
      - 'cve202532432=<?=shell_exec({var}[''cmd'']);exit;?>'
      - 'MARKER.rstrip("=")=<?=shell_exec({var}[''cmd'']);exit;?>'
      - 'a=<?=passthru({var}["cmd"]);die()?>'
      - 'p=admin/actions/users/session-info'
      - 'p=admin/login'
      - 'p=actions/users/session-info'
      - 'a=<?=exec({var}[''cmd'']);die();?>'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32432
POST /actions/assets/generate-transform
title: craftcms cms exploit attempt (CVE-2025-32432)
id: gg-pocmon-cve-2025-32432-9519499
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32432. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32432
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/actions/assets/generate-transform'
    cs-uri-query|contains|all:
      - 'cmd=python3 -c ''import socket,subprocess,os; s=socket.socket(socket.AF_INET,socket.SOCK_STREAM); s.connect(("'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32432
GET /admin/login
title: craftcms cms exploit attempt (CVE-2025-32432)
id: gg-pocmon-cve-2025-32432-9531688
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32432. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32432
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32432
GET /cms/
title: craftcms cms exploit attempt (CVE-2025-32432)
id: gg-pocmon-cve-2025-32432-9087117
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-32432. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2025-32432
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/cms/'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2025.32432