Skip to content

CVE-2026-46624 Twenty: SQL Injection via the timeZone field

CriticalCVSS 9.9 EPSS 0.48%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
twenty >= 1.7.7, < 1.16.7 1.16.7 Fixed
twentyhq twenty = >= 1.7.7, <= 1.16.7 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
twentyhq twenty = >= 1.7.7, <= 1.16.7 No fix listed
twenty >= 1.7.7, < 1.16.7 1.16.7

References