Twenty: SQL Injection in the `searchVector` Field Settings Allows Arbitrary PostgreSQL Execution
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Impact type
- SQL injection
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA. Impact type from CWE-89.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
Remediation
- Fix · CNA twenty (twentyhq) Fixed in 2.15.0
Timeline
- 2026-10-02 Threatist record created from CVE-2026-73069
- 2026-10-13 EPSS moved to the 50th–90th percentile
References
More twentyhq vulnerabilities
- TI-2026-21368 An issue in Twenty CRM v1.15.0 and before allows a remote attacker to execute arbitrary… CVSS 3.1CRITICAL 9.8
- TI-2026-34280 Twenty: SQL Injection via the timeZone field CVSS 3.1CRITICAL 9.9
- TI-2026-32616 Twenty: Stored Cross-Site Scripting via Unsanitized File Serving (Missing Content-Type/Content-Disposition Headers) CVSS 3.1HIGH 8.7
- TI-2026-26316 twenty-server SSRF protection bypass via IPv4-mapped IPv6 address normalization CVSS 4.0HIGH 8.3
- TI-2026-40122 Twenty: Cross-workspace IDOR in AgentTurnResolver CVSS 3.1HIGH 7.6
- TI-2024-18876 The CRM platform Twenty is vulnerable to stored cross site scripting via file upload in… CVSS 3.1HIGH 7.6
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences