SQL injection in Twenty - CVE-2026-46624
Published: July 28, 2026
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.