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

Critical 9.9 Published Updated

Authenticated users can execute arbitrary OS commands via SQL injection in the timeZone field if the database user has superuser privileges.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-46624?

CVE-2026-46624 is a critical SQL injection vulnerability in twentyhq twenty, published on 26 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official 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.

Weakness: CWE-89, CWE-78

Which versions are affected by CVE-2026-46624?

It affects 1 product.

Products include Twenty Twenty.

How do I fix CVE-2026-46624?

No fix has been published for CVE-2026-46624 yet. Limit exposure of the affected software until one is available.

Use parameterised queries everywhere and never build SQL by joining strings. Upgrade affected software first; a web application firewall only buys time. More about SQL injection.

Is CVE-2026-46624 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-46624 exists.

Sources

Also known as GHSA-jgx4-6mr9-9573.

Is CVE-2026-46624 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free