CVE-2026-123488
published critical CVSS 4.0 · 9.3Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| craftcms | — | cms4.0.0 to < 4.18.9 (affected · semver) · 4.18.9 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
| craftcms | — | cms5.0.0 to < 5.11.2 (affected · semver) · 5.11.2 (unaffected · semver) · Other versions: unaffected | Version-specific | Not stated | VulnCheck |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 9.3 / 10
- Severity
- critical
- Provider
- VulnCheck · cna
- Vector string
- CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 9.8 | critical | VulnCheck · cna | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| craftcms | cms | 4.0.0 to < 4.18.9 (affected · semver)4.18.9 (unaffected · semver)Default: unaffected | VulnCheck · cna |
| craftcms | cms | 5.0.0 to < 5.11.2 (affected · semver)5.11.2 (unaffected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
References
2- GitHub Security Advisory (GHSA-qcvp-ggx3-97r6) https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6
- VulnCheck Advisory: Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-sql-injection-via-element-search-endpoint
Provider assertions
2VulnCheck · cna
Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 8ae4b212083bf0439f526f1a4bbfeabd5fcce493315366ddbe99d95f5d971d34
- Ingested
- 09 Nov 2026, 22:53:00 UTC
- Source record
- Official CVE record