CVE-2026-123488: Craft CMS 4.0.0 before 4.18.9 SQL Injection via Element Search Endpoint

Published Nov 6, 2026
·
Updated

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.

Event History

Nov 6, 2026
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which Craft CMS installations are affected?

Craft CMS versions 4.0.0 through before 4.18.9 and 5.0.0 through before 5.11.2 are affected. Installations outside those stated version ranges are not identified as affected by the provided information.

2

Does exploitation require an authenticated Craft CMS account?

No. The vulnerable element search endpoint can be exploited without authentication by a remote attacker.

3

What could an attacker do after exploiting this issue?

An attacker can read from and write to the database. The described impact includes setting the administrator flag or overwriting password hashes in the users table to obtain administrator access.

4

What configuration condition enables the SQL injection?

The issue occurs because the endpoint concatenates the attribute parameter into a query without sanitization, while emulated PDO prepared statements permit stacked statements. The provided information does not state whether a non-default configuration is required.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203