Twenty: SQL Injection via the timeZone field
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution, SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-78 and CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-46624
- 2026-10-25 EPSS moved to the below the 50th percentile
References
More twentyhq Twenty vulnerabilities
- TI-2026-21368 An issue in Twenty CRM v1.15.0 and before allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
- TI-2026-32616 Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers) CVSS 3.1HIGH 8.7
- TI-2024-18876 The CRM platform Twenty is vulnerable to stored cross site scripting via file upload in… CVSS 3.1HIGH 7.6
- TI-2024-18877 The CRM platform Twenty version 0.3.0 is vulnerable to SSRF via file upload. CVSS 3.1MEDIUM 5.4
- TI-2026-21496 Twenty: SSRF protection bypass via HTTP redirect following in secure HTTP client CVSS 3.1MEDIUM 5.0
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences