SB20260728115 - SQL injection in Twenty
Published: July 28, 2026
Breakdown by Severity
- Low
- Medium
- High
- Critical
Description
This security bulletin contains information about 1 vulnerability.
1) SQL injection (CVE-ID: N/A)
CWE-ID: CWE-89 - Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
CVSSv4: CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Clear
The vulnerability allows a remote user to execute arbitrary PostgreSQL statements.
The vulnerability exists due to SQL injection in the searchVector TS_VECTOR field settings handling when processing REST or GraphQL metadata field updates. A remote privileged user can supply a crafted settings.asExpression value to execute arbitrary PostgreSQL statements.
Exploitation requires the DATA_MODEL permission and can be reached through the PATCH /rest/metadata/fields/:id or updateOneField mutation paths.
Remediation
Install update from vendor's website.