PoC Monitor
← All CVEs
CVE-2026-28695published 4 Mar 2026 16:15 UTCData: JSON · API

Craftcms cms

Craft affected by authenticated RCE via Twig SSTI - create() function + Symfony Process gadget

Craft is a content management system (CMS). There is an authenticated admin RCE in Craft CMS 5.8.21 via Server-Side Template Injection using the create() Twig function combined with a Symfony Process gadget chain. The create() Twig function exposes Craft::createObject(), which allows instantiation of arbitrary PHP classes with constructor arguments. Combined with the bundled symfony/process dependency, this enables RCE. This bypasses the fix implemented for CVE-2025-57811 (patched in 5.8.7). This vulnerability is fixed in 5.9.0-beta.1 and 4.17.0-beta.1.

First public PoC 207 daysafter publication · 27 Sep 2026
Public PoCs22 on GitHub
CVSS7.5high · scored by CNA · CWE-1336
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

craftcms cms
  • >= 5.8.7, < 5.9.0-beta.1
  • >= 4.0.0-RC1, < 4.17.0-beta.1

Fixed in 5.9.0-beta.1, 4.17.0-beta.1

Mitigation

Upgrade cms to 5.9.0-beta.1 or 4.17.0-beta.1 or later.

References

Timeline

Days relative to CVE publication
t=0+30+60+90+120+150+180CVE published4 Mar 2026 · t = 0First public PoC27 Sep 2026 · t+207d

First public PoC 207 days after publication; not in CISA KEV. First PoC: gbuyssens/CVE-2026-28695-craft-rce-bypass (created 27 Sep 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
gbuyssens/CVE-2026-28695-craft-rce-bypass 27 Sep 2026 +207 d 1 PoC
predyy/CVE-2026-28695 27 Sep 2026 +207 d 5 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 2 PoC repos

POST /element-search/search

Key headers
X-Csrf-Token: {var}
Body markers
"elementType":"craft\elements\Category" "siteId" "search":"" "CRAFT_CSRF_TOKEN" "condition" in application/json
Seen in
1 repo: predyy/CVE-2026-28695
Evidence
predyy/CVE-2026-28695/exp.py:51

POST /index.php

Query
p=admin/actions/users/login p=admin/actions/element-search/search
Key headers
Accept: application/json X-Csrf-Token: {var} X-Requested-With: XMLHttpRequest
Body markers
"CRAFT_CSRF_TOKEN" "loginName" "password" in application/json
Seen in
1 repo: gbuyssens/CVE-2026-28695-craft-rce-bypass
Evidence
gbuyssens/CVE-2026-28695-craft-rce-bypass/exploit.py:54 gbuyssens/CVE-2026-28695-craft-rce-bypass/exploit.py:98

POST /users/login

Key headers
X-Csrf-Token: {var}
Body markers
"CRAFT_CSRF_TOKEN" "loginName" "password" in application/json
Seen in
1 repo: predyy/CVE-2026-28695
Evidence
predyy/CVE-2026-28695/exp.py:29

Regex

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

GET /admin/dashboard
(?i)^/admin/dashboard(?:[?#].*)?$
GET /admin/login
(?i)^/admin/login(?:[?#].*)?$
POST /element-search/search
(?i)^/element-search/search(?:[?#].*)?$
POST /index.php
(?i)^/index\.php\?(?:.*&)?p=admin/actions/users/login.*p=admin/actions/element-search/search
POST /users/login
(?i)^/users/login(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /admin/dashboard
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-28695 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/dashboard"; reference:url,poc.griffinguard.io/cve/CVE-2026-28695; classtype:web-application-attack; sid:9633182; rev:1;)
GET /admin/login
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-28695 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/admin/login"; reference:url,poc.griffinguard.io/cve/CVE-2026-28695; classtype:web-application-attack; sid:9626635; rev:1;)
POST /element-search/search
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-28695 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/element-search/search"; http.header_names; content:"X-Csrf-Token"; nocase; http.request_body; content:"|22|elementType|22|:|22|craft|5c|elements|5c|Category|22|"; http.request_body; content:"|22|siteId|22|"; http.request_body; content:"|22|search|22|:|22||22|"; http.request_body; content:"|22|CRAFT_CSRF_TOKEN|22|"; http.request_body; content:"|22|condition|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28695; classtype:web-application-attack; sid:9655918; rev:1;)
POST /index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-28695 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/index.php"; http.uri; content:"p=admin/actions/users/login"; http.uri; content:"p=admin/actions/element-search/search"; http.header; content:"Accept: application/json"; nocase; http.header_names; content:"X-Csrf-Token"; nocase; http.header; content:"X-Requested-With: XMLHttpRequest"; nocase; http.request_body; content:"|22|CRAFT_CSRF_TOKEN|22|"; http.request_body; content:"|22|loginName|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28695; classtype:web-application-attack; sid:9544508; rev:1;)
POST /users/login
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-28695 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/users/login"; http.header_names; content:"X-Csrf-Token"; nocase; http.request_body; content:"|22|CRAFT_CSRF_TOKEN|22|"; http.request_body; content:"|22|loginName|22|"; http.request_body; content:"|22|password|22|"; reference:url,poc.griffinguard.io/cve/CVE-2026-28695; classtype:web-application-attack; sid:9240160; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /admin/dashboard
title: craftcms cms exploit attempt (CVE-2026-28695)
id: gg-pocmon-cve-2026-28695-9633182
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28695. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28695
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/dashboard'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28695
GET /admin/login
title: craftcms cms exploit attempt (CVE-2026-28695)
id: gg-pocmon-cve-2026-28695-9626635
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28695. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28695
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/admin/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28695
POST /element-search/search
title: craftcms cms exploit attempt (CVE-2026-28695)
id: gg-pocmon-cve-2026-28695-9655918
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28695. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28695
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/element-search/search'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28695
POST /index.php
title: craftcms cms exploit attempt (CVE-2026-28695)
id: gg-pocmon-cve-2026-28695-9544508
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28695. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28695
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/index.php'
    cs-uri-query|contains|all:
      - 'p=admin/actions/users/login'
      - 'p=admin/actions/element-search/search'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28695
POST /users/login
title: craftcms cms exploit attempt (CVE-2026-28695)
id: gg-pocmon-cve-2026-28695-9240160
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-28695. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-28695
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/users/login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: high
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.28695