Skip to content
A detailed explainer is available in Japanese. Read the Japanese explainer
Critical 9.8

Craft CMSに認証不要のSQLインジェクション、修正版あり

CVE-2026-115934 First seen on SecPulse

Summary

Craft CMSの検索機能にある脆弱性で、データベースを書き換えられ、管理者権限を奪われる恐れがあります。MySQLまたはMariaDBで4系・5系を使うサイトは、修正版の4.18.9か5.11.2へ早めに更新してください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

Craft CMSの検索機能にある脆弱性で、データベースを書き換えられ、管理者権限を奪われる恐れがあります。MySQLまたはMariaDBで4系・5系を使うサイトは、修正版の4.18.9か5.11.2へ早めに更新してください。

Affected packages

PackageAffected → Fixed
craftcmscms
≥ 5.0.0, < 5.11.2→ 5.11.2
≥ 4.0.0, < 4.18.9→ 4.18.9
Original description The description as published by the source.

An unauthenticated SQL injection can occur on the front end of any site that uses craft.search to perform a search, allowing stacked query execution and enabling escalation to an administrator.

Note that this only affects MySQL/MariaDB.

Impact * SQL injection — The attribute parameter is concatenated into the query unsanitized, and because PDO runs with emulated prepares, stacked statements execute. This gives unauthenticated read and write access to the application database.

  • Privilege escalation to administrator — The write primitive was used to set the admin flag on user ID 1 in the users table, confirmed by reading the value back. Craft short-circuits its permission checks on this single column, so no further changes were needed. The same primitive can overwrite any account’s password hash.

Update to the patched versions (4.18.9 and 5.11.2) to get the fix.

If you cannot update immediately, you can block front-end requests with %5Battribute%5D and [attribute] anywhere in the query string as a temporary mitigation.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details