What’s Vulnerable › Vulnerabilities
CVE-2026-46624: Twenty: SQL Injection via the timeZone field
- Severity: critical (CVSS 9.9 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.5% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2026-05-26 · updated 2026-07-24
- Weakness: CWE-78
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.
Affected products
- twentyhq twenty: from 1.7.7 before 1.16.7 — fixed in 1.16.7
How to fix
Upgrade to a fixed version: twentyhq twenty 1.16.7. Check the vendor advisory for mitigations.
References
- https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573
- https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573
Get alerted when CVE-2026-46624 or the next vulnerability affects your stack