CVE-2026-46624 Twenty: SQL Injection via the timeZone field
Authenticated users can execute arbitrary OS commands via SQL injection in the timeZone field if the database user has superuser privileges.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2026-46624?
CVE-2026-46624 is a critical SQL injection vulnerability in twentyhq twenty, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
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 group_by 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.
Which versions are affected by CVE-2026-46624?
It affects 1 product.
Products include Twenty Twenty.
How do I fix CVE-2026-46624?
No fix has been published for CVE-2026-46624 yet. Limit exposure of the affected software until one is available.
Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.
Is CVE-2026-46624 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46624 exists.
Other vulnerabilities in twentyhq twenty
- CVE-2026-26720 Code injection in n/a
- CVE-2026-44729 Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers)
- CVE-2024-28434 Cross-site scripting in n/a
- CVE-2024-28435 Server-side request forgery in n/a
- CVE-2026-27023 Twenty: SSRF protection bypass via HTTP redirect following in secure HTTP client
Sources
Also known as GHSA-jgx4-6mr9-9573.