SQL Injection Affecting @strapi/plugin-content-type-builder package, versions >=4.0.0-next.0 <4.26.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.13% (32nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about SQL Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-STRAPIPLUGINCONTENTTYPEBUILDER-16686875
  • published19 May 2026
  • disclosed13 May 2026
  • creditwhiteov3rflow itsrez

Introduced: 13 May 2026

NewCVE-2026-22599  (opens in a new tab)
CWE-89  (opens in a new tab)

How to fix?

Upgrade @strapi/plugin-content-type-builder to version 4.26.1 or higher.

Overview

@strapi/plugin-content-type-builder is a Strapi plugin to create content type

Affected versions of this package are vulnerable to SQL Injection via the column.defaultTo attribute in the content type creation or modification. An attacker can execute arbitrary database statements by supplying crafted input that is passed unsanitized to the database layer. This can result in arbitrary file reads, denial of service through forced server crashes, or remote code execution on the database server, depending on the underlying database engine.

Note: This is only exploitable if the attacker has authenticated administrator privileges and the application is running in development mode.

CVSS Base Scores

version 4.0
version 3.1