{"id":"CVE-2026-73069","published":"2026-08-11T15:18:56Z","modified":"2026-08-11T18:28:57Z","title":"Twenty: SQL Injection in the `searchVector` Field Settings Allows Arbitrary PostgreSQL Execution","vendor":"twentyhq","product":"twenty","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":9.1,"severity":"CRITICAL","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00655,"percentile":0.52305,"provenance":"source"},"cwes":[{"id":"CWE-89","name":"Improper Neutralization of Special Elements used in an SQL Command"}],"references":[{"url":"https://github.com/twentyhq/twenty/security/advisories/GHSA-mm7j-q9q3-qqwj","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/twentyhq/twenty/pull/21947","tags":["x_refsource_MISC"]},{"url":"https://github.com/twentyhq/twenty/commit/0b8368cd6c1a47711bf52972800f162bde0bbab9","tags":["x_refsource_MISC"]}],"priority":{"score":16.8,"factors":[{"name":"EPSS percentile","points":10.46},{"name":"CVSS severity","points":6.37}]},"vendorSlug":"twentyhq","affectedVersions":[{"vendor":"twentyhq","product":"twenty","versions":["< 2.15.0"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-08-11T18:27:22.650841Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-56221","exploited":false,"provenance":"source"}}