SQL injection in strapi - CVE-2026-22599

 

SQL injection in strapi - CVE-2026-22599

Published: May 13, 2026


Vulnerability identifier: #VU131368
CSH Severity: Low
CVSS v4: 8.5 [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]
CVE-ID: CVE-2026-22599
CWE-ID: CWE-89
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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.


Affected software

strapi

How to mitigate CVE-2026-22599

Install security update from vendor's website.

strapi - addressed in versions 4.26.1, 5.33.2

External References

Related Security Bulletins