Read the docs
TI-2026-18160 Aliases CVE-2026-22599GHSA-3xcq-8mjw-h6mx

Strapi Vulnerable to SQL Injection in Content Type Builder

Priority MEDIUM 44CWE-89Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
SQL injection
Confidentiality · integrity · availability
High · High · None
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub. Impact type from CWE-89.

Summary

Strapi is an open source headless content management system. In versions on the 4.x branch prior to 4.26.1 and on the 5.x branch prior to 5.33.2, a database-query injection vulnerability existed in the Strapi Content-Type Builder write API. An authenticated administrator could inject arbitrary database statements through the `column.defaultTo` attribute when creating or modifying a content type. Setting `defaultTo` as a tuple `[value, { isRaw: true }]` caused the value to be passed directly into Knex's `db.connection.raw()` during schema migration without sanitization, allowing arbitrary statement execution at the database layer. Depending on the database engine, this enabled arbitrary file read via database utility functions, denial of service via forced server crash on schema-migration error, and on engines that permit external program execution, remote code execution against the database server. The patch in versions 4.26.1 and 5.33.2 addresses this by restricting all Content-Type Builder write APIs to development mode only. Production deployments running v5.33.2 or later return 404 for requests against `/content-type-builder/content-types` and related endpoints, removing the network-reachable attack surface entirely.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01178 67th percentileScored 2026-11-07
Fix Fixed strapi (strapi): 5.33.2, 4.26.1@strapi/content-type-builder (strapi): 5.33.2, 4.26.1+2 more products

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
Strapistrapi5.0.0 to before 5.33.2; 4.0.0 to before 4.26.15.33.2, 4.26.1Patch availableCNA
Strapi@strapi/content-type-builder5.0.0 to before 5.33.2; 4.0.0 to before 4.26.15.33.2, 4.26.1Patch availableCNA
—@strapi/content-type-builder (npm)5.0.0 to before 5.33.25.33.2Patch availableGHSA-3xcq-8mjw-h6mx
—@strapi/plugin-content-type-builder (npm)4.0.0 to before 4.26.14.26.1Patch availableGHSA-3xcq-8mjw-h6mx
  • strapi VendorStrapi Affected 5.0.0 to before 5.33.2; 4.0.0 to before 4.26.1 Fixed in 5.33.2, 4.26.1 Patch available CNA
  • @strapi/content-type-builder VendorStrapi Affected 5.0.0 to before 5.33.2; 4.0.0 to before 4.26.1 Fixed in 5.33.2, 4.26.1 Patch available CNA
  • @strapi/content-type-builder (npm) Vendor— Affected 5.0.0 to before 5.33.2 Fixed in 5.33.2 Patch available GHSA-3xcq-8mjw-h6mx
  • @strapi/plugin-content-type-builder (npm) Vendor— Affected 4.0.0 to before 4.26.1 Fixed in 4.26.1 Patch available GHSA-3xcq-8mjw-h6mx

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:*4.0.0 to before 4.26.1; 5.0.0 to before 5.33.2VulnerableStrapi
  • cpe:2.3:a:strapi:strapi:*:*:*:*:*:node.js:*:* Versions 4.0.0 to before 4.26.1; 5.0.0 to before 5.33.2 Vulnerable ·Strapi

Remediation

  • Fix · CNA strapi (strapi) Fixed in 5.33.2, 4.26.1
  • Fix · CNA @strapi/content-type-builder (strapi) Fixed in 5.33.2, 4.26.1
  • Fix · GHSA-3xcq-8mjw-h6mx @strapi/content-type-builder (npm) Fixed in 5.33.2 Advisory →
  • Fix · GHSA-3xcq-8mjw-h6mx @strapi/plugin-content-type-builder (npm) Fixed in 4.26.1 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-22599
  2. 2026-10-03 Alias added: GHSA-3xcq-8mjw-h6mx

References

  • TI-2023-09037 Query filter flaw in Strapi exposes sensitive user details KEVCVSS 3.1HIGH 7.2
  • TI-2019-13554 strapi before 3.0.0-beta.17.5 mishandles password resets within… CVSS 3.1CRITICAL 9.8
  • TI-2023-19887 Strapi Improper Rate Limiting vulnerability CVSS 3.1CRITICAL 9.8
  • TI-2023-08803 Strapi through 4.5.5 allows authenticated Server-Side Template Injection (SSTI) that can… CVSS 3.1CRITICAL 10.0
  • TI-2024-25161 Strapi v4.24.4 was discovered to contain a Server-Side Request Forgery (SSRF) via the… CVSS 3.1HIGH 8.6
  • TI-2023-17071 Leaking sensitive user information still possible by filtering on private with prefix fields CVSS 3.1HIGH 8.6
See all 38 →

Sources