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

Published May 26, 2026
·
Updated

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 groupby 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 Software

2 affected components
Twenty Twenty CRM>=1.7.7<=1.16.7
Twenty Twenty>=1.7.7<1.16.7

Event History

May 26, 2026
CVE Published
via MITRE·05:01 PM
Data Sourced
via MITRE·05:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·06:16 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2026-46624?

CVE-2026-46624 has a critical severity rating of 9.9.

2

How do I fix CVE-2026-46624?

To fix CVE-2026-46624, update Twenty CRM to a version later than 1.16.7.

3

What type of vulnerability is CVE-2026-46624?

CVE-2026-46624 is a critical Remote Code Execution vulnerability caused by SQL Injection.

4

What software is affected by CVE-2026-46624?

CVE-2026-46624 affects versions 1.7.7 through 1.16.7 of Twenty CRM.

5

What potential impact does CVE-2026-46624 have?

CVE-2026-46624 allows authenticated users to execute arbitrary OS commands if the PostgreSQL user is a super user.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203