SB2026051394 - SQL injection in strapi
Published: May 13, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) SQL injection (CVE-ID: CVE-2026-22599)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to execute arbitrary database statements.
The vulnerability exists due to SQL injection in the Content-Type Builder write API when processing the column.defaultTo attribute during content-type creation or modification. A remote privileged user can send crafted API input using a tuple with isRaw: true to execute arbitrary database statements.
This occurs during schema migration when the supplied value is passed directly into Knex's db.connection.raw() without sanitization.
Remediation
Install update from vendor's website.