Skip to main content
EPSS 0.7%top 51%

CVE-2026-73069: CWE-89: Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') in twentyhq twenty

0
Critical
VulnerabilityCVE-2026-73069cvecve-2026-73069cwe-89
Published: 08/11/2026 (08/11/2026, 15:18:56 UTC)
Source: CVE Database V5
Vendor/Project: twentyhq
Product: twenty

Description

Twenty is an open-source CRM (customer relationship management) platform. Prior to 2.15.0, Twenty allowed a workspace administrator with the DATA_MODEL permission to supply settings.asExpression for the system TS_VECTOR field searchVector through PATCH /rest/metadata/fields/:id or the updateOneField GraphQL mutation, causing buildSqlColumnDefinition in packages/twenty-server/src/engine/twenty-orm/workspace-schema-manager/utils/build-sql-column-definition.util.ts to concatenate unescaped input into GENERATED ALWAYS AS (...) and execute arbitrary PostgreSQL statements as the application database user. This issue is fixed in version 2.15.0.

CVSS v3.1

Score 9.1critical

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

Affected software

twentyhq

twenty

Affected versions
<2.15.0
GitHub Actionsmore threats →ai
twentyhq/twenty
pkg:github/twentyhq/twenty
Affected versions
<2.15.0

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/11/2026, 15:56:09 UTC

Technical Analysis

Twenty versions prior to 2.15.0 contain an SQL injection vulnerability (CWE-89) in the handling of the system TS_VECTOR field searchVector. A workspace administrator with DATA_MODEL permission could supply settings.asExpression via PATCH /rest/metadata/fields/:id or the updateOneField GraphQL mutation. The vulnerable function buildSqlColumnDefinition concatenates this unescaped input into a GENERATED ALWAYS AS (...) SQL expression, enabling execution of arbitrary PostgreSQL commands as the database user. This flaw is resolved in version 2.15.0.

Potential Impact

Successful exploitation allows a privileged workspace administrator to execute arbitrary SQL commands on the PostgreSQL database with the application's database user privileges. This can lead to complete compromise of the database confidentiality, integrity, and availability.

Mitigation Recommendations

Upgrade to Twenty version 2.15.0 or later, where this vulnerability is fixed. No other mitigation or workaround is indicated by the available data.

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-08-10T19:37:41.444Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 6a7b42ccbf8831d539f89e71

Added to database: 08/11/2026, 15:42:04 UTC

Last enriched: 08/11/2026, 15:56:09 UTC

Last updated: 09/24/2026, 16:27:03 UTC

Views: 57

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