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.
References
| Link | Resource |
|---|---|
| https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573 | Vendor Advisory Exploit |
| https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573 | Vendor Advisory Exploit |
Configurations
History
27 May 2026, 14:45
| Type | Values Removed | Values Added |
|---|---|---|
| CPE | cpe:2.3:a:twenty:twenty:*:*:*:*:*:*:*:* | |
| References | () https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573 - Vendor Advisory, Exploit | |
| First Time |
Twenty
Twenty twenty |
26 May 2026, 20:16
| Type | Values Removed | Values Added |
|---|---|---|
| References | () https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573 - |
26 May 2026, 18:16
| Type | Values Removed | Values Added |
|---|---|---|
| New CVE |
Information
Published : 2026-05-26 18:16
Updated : 2026-05-27 14:45
NVD link : CVE-2026-46624
Mitre link : CVE-2026-46624
CVE.ORG link : CVE-2026-46624
JSON object : View
Products Affected
twenty
- twenty
