CVE-2026-46624: Twenty: SQL Injection via the timeZone field
Twenty is an open source CRM. From 1.7.7 through 1.16.7, a critical Remote Code Execution (RCE) vulnerability exists in Twenty CRM via a chained SQL Injection and PostgreSQL COPY TO PROGRAM attack. If Postgres user is a super user then any authenticated user can execute arbitrary OS commands on the database server by injecting SQL through the unsanitized timeZone parameter in the REST API groupBy endpoint. The timeZone field within the groupby query parameter is directly interpolated into a raw SQL expression using JavaScript template literals without any parameterization, validation, or escaping. This affects engine/api/graphql/graphql-query-runner/group-by/resolvers/utils/get-group-by-expression.util.ts.
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-46624?
CVE-2026-46624 has a critical severity rating of 9.9.
How do I fix CVE-2026-46624?
To fix CVE-2026-46624, update Twenty CRM to a version later than 1.16.7.
What type of vulnerability is CVE-2026-46624?
CVE-2026-46624 is a critical Remote Code Execution vulnerability caused by SQL Injection.
What software is affected by CVE-2026-46624?
CVE-2026-46624 affects versions 1.7.7 through 1.16.7 of Twenty CRM.
What potential impact does CVE-2026-46624 have?
CVE-2026-46624 allows authenticated users to execute arbitrary OS commands if the PostgreSQL user is a super user.