{"id":"CVE-2026-123488","state":"PUBLISHED","title":"Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint","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.","publishedAt":"2026-11-06T15:00:50.084Z","updatedAt":"2026-11-09T22:45:53.355Z","severity":{"score":9.3,"label":"Critical","version":"4.0","vector":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["craftcms cms"],"affected":[{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.18.9","versionType":"semver"},{"version":"4.18.9","status":"unaffected","versionType":"semver"}]},{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.11.2","versionType":"semver"},{"version":"5.11.2","status":"unaffected","versionType":"semver"}]}],"references":["https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6","https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-sql-injection-via-element-search-endpoint"],"weaknesses":["CWE-89"],"ingestedAt":"2026-11-09T22:50:06.747Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/123xxx/CVE-2026-123488.json","commit":"e63c48941a872d7c829333851c2753b723655a97","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-123488","state":"PUBLISHED","datePublished":"2026-11-06T15:00:50.084Z","dateUpdated":"2026-11-09T22:45:53.355Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-06T00:44:37.658Z"},"containers":{"cna":{"title":"Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint","descriptions":[{"lang":"en","value":"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":[{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"4.0.0","status":"affected","lessThan":"4.18.9","versionType":"semver"},{"version":"4.18.9","status":"unaffected","versionType":"semver"}]},{"vendor":"craftcms","product":"cms","defaultStatus":"unaffected","versions":[{"version":"5.0.0","status":"affected","lessThan":"5.11.2","versionType":"semver"},{"version":"5.11.2","status":"unaffected","versionType":"semver"}]}],"references":[{"url":"https://github.com/craftcms/cms/security/advisories/GHSA-qcvp-ggx3-97r6","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-qcvp-ggx3-97r6)"},{"url":"https://www.vulncheck.com/advisories/craft-cms-4.0.0-before-4.18.9-sql-injection-via-element-search-endpoint","name":"VulnCheck Advisory: Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint","tags":["third-party-advisory"]}],"metrics":[{"cvssV4_0":{"Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","Safety":"NOT_DEFINED","attackComplexity":"LOW","attackRequirements":"NONE","attackVector":"NETWORK","baseScore":9.3,"baseSeverity":"CRITICAL","exploitMaturity":"NOT_DEFINED","privilegesRequired":"NONE","providerUrgency":"NOT_DEFINED","subAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","userInteraction":"NONE","valueDensity":"NOT_DEFINED","vectorString":"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","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH","vulnerabilityResponseEffort":"NOT_DEFINED"},"format":"CVSS"},{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":9.8,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS"}],"problemTypes":[{"descriptions":[{"cweId":"CWE-89","lang":"en","description":"Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-06T15:00:50.084Z"},"datePublic":"2026-10-22T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","versionStartIncluding":"4.0.0","versionEndExcluding":"4.18.9"}]}]},{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0.0","versionEndExcluding":"5.11.2"}]}]}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-11-09T22:37:42.225410Z","id":"CVE-2026-123488","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-11-09T22:45:53.355Z"}}]}}}