Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-46624: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in twentyhq twenty

0
Critical
VulnerabilityCVE-2026-46624cvecve-2026-46624cwe-78cwe-89
Published: Tue May 26 2026 (05/26/2026, 17:01:16 UTC)
Source: CVE Database V5
Vendor/Project: twentyhq
Product: twenty

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.

CVSS v3.1

Score 9.9critical

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/26/2026, 18:19:22 UTC

Technical Analysis

CVE-2026-46624 affects Twenty CRM versions 1.7.7 through 1.16.7 and involves a chained SQL Injection and PostgreSQL COPY TO PROGRAM attack vector. The vulnerability stems from the timeZone field within the group_by query parameter being directly embedded into a raw SQL expression using JavaScript template literals without validation or escaping. This allows an authenticated user to inject SQL commands that, if the PostgreSQL user has superuser privileges, can lead to arbitrary OS command execution on the database server. The affected code is located in engine/api/graphql/graphql-query-runner/group-by/resolvers/utils/get-group-by-expression.util.ts. The CVSS v3.1 score is 9.9, indicating critical severity with network attack vector, low attack complexity, and high impact on confidentiality, integrity, and availability.

Potential Impact

Successful exploitation allows an authenticated user to execute arbitrary operating system commands on the database server hosting Twenty CRM, potentially leading to full system compromise. The impact includes complete loss of confidentiality, integrity, and availability of the affected system. This can result in data theft, data manipulation, service disruption, and further lateral movement within the environment.

Mitigation Recommendations

No official patch or remediation is currently available as per the provided data. Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is released, restrict PostgreSQL user privileges to avoid superuser rights for the database user used by Twenty CRM. Additionally, avoid exposing the vulnerable API endpoint to untrusted users and consider implementing input validation or filtering on the timeZone parameter as a temporary mitigation.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-15T19:34:14.012Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a15e03a891d628fdc67d933

Added to database: 5/26/2026, 6:02:34 PM

Last enriched: 5/26/2026, 6:19:22 PM

Last updated: 5/26/2026, 9:50:15 PM

Views: 5

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses