SQL injection in Twenty - CVE-2026-46624

 

SQL injection in Twenty - CVE-2026-46624

Published: July 28, 2026


Vulnerability identifier: #VU139925
CSH Severity: Medium
CVSS v4: 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]
CVE-ID: CVE-2026-46624
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 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.


Affected software

Twenty

How to mitigate CVE-2026-46624

Install security update from vendor's website.

Twenty - update to 1.16.7

External References

Related Security Bulletins