Craftcms cms
Potential RCE with a compromised security key in craft/cms
Craft is a flexible, user-friendly CMS for creating custom digital experiences on the web and beyond. This is an remote code execution (RCE) vulnerability that affects Craft 4 and 5 installs where your security key has already been compromised. Anyone running an unpatched version of Craft with a compromised security key is affected. This vulnerability has been patched in Craft 5.5.8 and 4.13.8. Users who cannot update to a patched version, should rotate their security keys and ensure their privacy to help migitgate the issue.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 5.0.0-RC1, < 5.5.5
- >= 4.0.0-RC1, < 4.13.8
Fixed in 5.5.5, 4.13.8
Mitigation
Upgrade cms to 5.5.5 or 4.13.8 or later.
References
Timeline
Days relative to CVE publicationFirst public PoC 1.2 years after publication; added to CISA KEV 33 days after publication. First PoC: farid-khelil/CVE_2025_23209 (created 29 Mar 2026, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| farid-khelil/CVE_2025_23209 | 29 Mar 2026 +1.2 y | 0 | PoC |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
PoC characteristics
What to hunt for in your logs · from 1 PoC repoPOST /admin/actions/updater/restore-db
- Key headers
Cookie: CraftSessionId=...- Body markers
data=CRAFT_CSRF_TOKEN=inapplication/x-www-form-urlencoded- Seen in
- 1 repo: farid-khelil/CVE_2025_23209
- Evidence
- farid-khelil/CVE_2025_23209/README.md:98
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/admin/actions/updater/restore-db(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2025-23209 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/admin/actions/updater/restore-db"; http.header; content:"Cookie: CraftSessionId=..."; nocase; http.request_body; content:"data="; http.request_body; content:"CRAFT_CSRF_TOKEN="; reference:url,poc.griffinguard.io/cve/CVE-2025-23209; classtype:web-application-attack; sid:9239658; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: craftcms cms exploit attempt (CVE-2025-23209)
id: gg-pocmon-cve-2025-23209-9239658
status: experimental
description: Request pattern taken from public PoCs for CVE-2025-23209. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2025-23209
logsource:
category: webserver
detection:
selection:
cs-method: POST
cs-uri-stem|contains|all:
- '/admin/actions/updater/restore-db'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: high
tags:
- attack.initial_access
- attack.t1190
- cve.2025.23209