CVE-2026-46624

Source
https://cve.org/CVERecord?id=CVE-2026-46624
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46624.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-46624
Aliases
  • GHSA-jgx4-6mr9-9573
Published
2026-05-26T17:01:16.980Z
Modified
2026-07-08T08:13:38.789836691Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
Summary
Twenty: SQL Injection via the timeZone field
Details

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.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/46xxx/CVE-2026-46624.json",
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78",
        "CWE-89"
    ]
}
References

Affected packages

Git / github.com/twentyhq/twenty

Affected ranges

Type
GIT
Repo
https://github.com/twentyhq/twenty
Events
Database specific
{
    "cpe": "cpe:2.3:a:twenty:twenty:*:*:*:*:*:*:*:*",
    "source": [
        "AFFECTED_FIELD",
        "CPE_RANGE"
    ],
    "extracted_events": [
        {
            "introduced": "1.7.7"
        },
        {
            "last_affected": "1.16.7"
        },
        {
            "fixed": "1.16.7"
        }
    ]
}

Affected versions

v1.*
v1.10.0
v1.10.2
v1.10.3
v1.10.4
v1.10.5
v1.10.6
v1.10.7
v1.11.0
v1.11.14
v1.11.3
v1.11.4
v1.11.5
v1.11.6
v1.12.0
v1.12.12
v1.12.13
v1.12.14
v1.12.15
v1.12.17
v1.12.18
v1.12.3
v1.12.4
v1.12.5
v1.12.6
v1.12.7
v1.12.8
v1.13.0
v1.13.1
v1.13.10
v1.13.11
v1.13.2
v1.13.3
v1.13.8
v1.13.9
v1.14.0
v1.14.1
v1.14.2
v1.15.0
v1.15.10
v1.15.3
v1.15.7
v1.15.8
v1.15.9
v1.16.0
v1.16.1
v1.16.2
v1.16.3
v1.16.4
v1.16.5
v1.16.6
v1.7.10
v1.7.7
v1.7.8
v1.7.9
v1.8.0
v1.8.1
v1.8.10
v1.8.11
v1.8.2
v1.8.3
v1.8.4
v1.8.5
v1.8.6
v1.8.7
v1.8.8
v1.8.9

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-46624.json"