Description
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 products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| craftcms | cms | 4.0.0 – < 4.18.9, 5.0.0 – < 5.11.2 | 4.18.9 |
Public exploits
Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.
GitHub 4 repositories
-
dinosn/CVE-2026-123488-CraftCMS-Lab ★ 1 · Nov 8, 2026
PoC for CVE-2026-123488: unauthenticated SQLi in the element search endpoint (CWE-89) escalating to admin via stacked UPDATE;
-
fixedbyreboot/CVE-2026-123488-POC ★ 1 · Nov 6, 2026
POC exploit for CVE-2026-123488 - unauthenticated SQL injection vulnerability in Craft CMS (MySQL/MariaDB backend). Admin takeover.
-
foxcornlab/craft-cms-scanner ★ 0 · Nov 9, 2026
Detection-only triage for the Craft CMS Nov 2026 batch headlined by CVE-2026-123488 (CVSS 9.8 unauthenticated SQL injection): grade 4.x/5.x installs against the 4.18.9 / 5.11.2 fixes. No traffic, no …
-
ashrafzaryouh/CVE-2026-123488 ★ 0 · Nov 9, 2026
CVE-2026-123488
Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- Craft CMS < 4.18.9, < 5.11.2 - Unauthenticated SQL Injection http/cves/2026/CVE-2026-123488.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
References
- GitHub Security Advisory (GHSA-qcvp-ggx3-97r6) vendor-advisory
- VulnCheck Advisory: Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint third-party-advisory