SecurityContext

CVE-2026-22599: Strapi - SQL Injection

  • Cve: CVE-2026-22599
  • Name: Strapi - SQL Injection
  • Description: 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.
  • Impact: Authenticated administrators can execute arbitrary database statements, potentially leading to file read, denial of service, or remote code execution on the database server.
  • Remediation: Update to versions 4.26.1 or 5.33.2 or later.
  • Vulnerability type: sql_injection
  • Vulnerability impact: remote_code_execution, denial_of_service, file_system_read
  • Requirement type: logged_in
  • Requirements: Attacker must be an authenticated administrator
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.2
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
  • Epss score: 0.01178
  • Epss percentile: 0.68449
  • Assignee: [email protected]
  • Published at: 2026-05-14T19:16:29Z
  • Age in days: 194
  • Modified at: 2026-10-26T14:10:00Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 3
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-22599
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-89Improper Neutralization of Special Elements used in an SQL Command

Hackerone

  • Reports: 2
  • Rank: 3806

Public exploits

UrlSourceAdded date
https://github.com/abraxas/CVE-2026-22599poc-in-github2026-09-26

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/strapi/strapi/releases/tag/v4.26.1Patch, Product
https://github.com/strapi/strapi/releases/tag/v5.33.2Patch, Product
https://github.com/strapi/strapi/security/advisories/GHSA-3xcq-8mjw-h6mxVendor Advisory

Products

ProductAffectedPlatform boundSourcesUrl
strapi:strapi>= 5.0.0, < 5.33.2; >= 4.0.0, < 4.26.1nonvd/v1/products/strapi/strapi

Projects

RepositoryLink kindsIndexedUrl
strapi/strapipackage, releases, security_advisoryyes/v1/repositories/strapi/strapi

Index

  • Repositories: 5
  • Packages: 2
  • Checked, none or zero: repositories high signal

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2026-09-26
  • Remote: yes
  • Authentication required: yes
  • Hackerone reports: 2
  • Exposed hosts: 27642
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since