CMS
Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint
Craft CMS 4.0.0 before 4.18.9 and 5.0.0 before 5.11.2 contains an unauthenticated SQL injection vulnerability in the element search endpoint because the attribute parameter is concatenated into the query unsanitized and emulated PDO prepares allow stacked statements. Remote attackers can read and write the database, setting the admin flag or overwriting password hashes in the users table to gain administrator access.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- >= 4.0.0, < 4.18.9
Fixed in 4.18.9
- >= 5.0.0, < 5.11.2
Fixed in 5.11.2
Mitigation
Upgrade cms to 4.18.9 or later.
Upgrade cms to 5.11.2 or later.
References
- Vendor advisory github.com/craftcms/cms/security/advisories/GH…
Timeline
Days relative to CVE publicationFirst public PoC 5 h after publication; not in CISA KEV. First PoC: fixedbyreboot/CVE-2026-123488-POC (created 6 Nov 2026, found by us: 14 Nov 2026).
PoC repositories
Found on GitHub.3 PoCs · 1 pending
PoCs 3
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| fixedbyreboot/CVE-2026-123488-POC | 6 Nov 2026 +5 h | 14 Nov 2026 | 1 | PoC |
| dinosn/CVE-2026-123488-CraftCMS-Lab | 8 Nov 2026 +1.8 d | 14 Nov 2026 | 1 | PoC |
| ashrafzaryouh/CVE-2026-123488 | 9 Nov 2026 +2.9 d | 14 Nov 2026 | 0 | PoC |
Pending 1
| Repository | Created | Found by us | Stars | Assessment |
|---|---|---|---|---|
| foxcornlab/craft-cms-scanner | 9 Nov 2026 +2.6 d | 14 Nov 2026 | 0 | Pending |
Only PoCs count toward the first-PoC date and the characteristics below. 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.| Source | Title | Published | Found by us |
|---|---|---|---|
| nuclei template | nuclei template: Craft CMS < 4.18.9, < 5.11.2 - Unauthenticated SQL Injection | 11 Nov 2026 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 3 PoC reposGET /index.php
- Query
p=searchsearch[query]=hello- Ports
- 18080, 18081
- Seen in
- 1 repo: dinosn/CVE-2026-123488-CraftCMS-Lab
- Evidence
- dinosn/CVE-2026-123488-CraftCMS-Lab/validate-lab.sh:14
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/index\.php\?(?:.*&)?p=search.*search\[query\]=hello
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [18080,18081] (msg:"GG PoC-Monitor CVE-2026-123488 craftcms cms exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/index.php"; http.uri; content:"p=search"; http.uri; content:"search[query]=hello"; reference:url,poc.griffinguard.io/cve/CVE-2026-123488; classtype:web-application-attack; sid:9541852; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: craftcms cms exploit attempt (CVE-2026-123488)
id: gg-pocmon-cve-2026-123488-9541852
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-123488. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2026-123488
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/index.php'
cs-uri-query|contains|all:
- 'p=search'
- 'search[query]=hello'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2026.123488