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)
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.