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

- Severity: Critical 9.9 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.48%, higher than 43% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-05-26T17:01:16.980Z
- Modified: 2026-07-24T11:10:00.170Z
- Weaknesses: CWE-78, CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- twentyhq twenty: >= 1.7.7, <= 1.16.7
- twenty twenty: from 1.7.7 before 1.16.7

## References

- <https://github.com/twentyhq/twenty/security/advisories/GHSA-jgx4-6mr9-9573> (exploit, vendor-advisory)

## Sources

- CVE List: [CVE-2026-46624](https://www.cve.org/CVERecord?id=CVE-2026-46624), CVE Terms of Use, modified 2026-05-26
- NVD: [CVE-2026-46624](https://nvd.nist.gov/vuln/detail/CVE-2026-46624), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-46624 · Whole record: https://cve.day/CVE-2026-46624.json · Rebuilt by cve.day 2026-11-25T22:59:22.362Z
