SB20260728110 - SQL injection in Twenty



SB20260728110 - SQL injection in Twenty

Published: July 28, 2026

Security Bulletin ID SB20260728110
CSH Severity
Medium
Patch available
YES
Number of vulnerabilities 1
Exploitation vector Remote access
Highest impact Code execution

Breakdown by Severity

Medium 100%
  • Low
  • Medium
  • High
  • Critical

Description

This security bulletin contains information about 1 vulnerability.


1) SQL injection (CVE-ID: CVE-2026-46624)

CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

CVSSv4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]


The vulnerability allows a remote user to execute arbitrary code.

The vulnerability exists due to SQL injection in the REST API groupBy endpoint when processing the user-supplied timeZone parameter. A remote user can send a specially crafted group_by query to execute arbitrary code.

Exploitation requires chaining the SQL injection with PostgreSQL COPY TO PROGRAM and is possible when Twenty CRM is deployed with a PostgreSQL superuser, such as in the default Docker deployment.


Remediation

Install update from vendor's website.