{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "introduced": "0"
              },
              {
                "fixed": "2.15.0"
              }
            ],
            "source": [
              "AFFECTED_FIELD",
              "REFERENCES"
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0b8368cd6c1a47711bf52972800f162bde0bbab9"
            }
          ],
          "repo": "https://github.com/twentyhq/twenty",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-mm7j-q9q3-qqwj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-89"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73069.json"
  },
  "details": "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.",
  "id": "CVE-2026-73069",
  "modified": "2026-08-13T03:52:16.093284683Z",
  "published": "2026-08-11T15:18:56.084Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/73xxx/CVE-2026-73069.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/twentyhq/twenty/security/advisories/GHSA-mm7j-q9q3-qqwj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-73069"
    },
    {
      "type": "FIX",
      "url": "https://github.com/twentyhq/twenty/commit/0b8368cd6c1a47711bf52972800f162bde0bbab9"
    },
    {
      "type": "FIX",
      "url": "https://github.com/twentyhq/twenty/pull/21947"
    }
  ],
  "schema_version": "1.9.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Twenty: SQL Injection in the `searchVector` Field Settings Allows Arbitrary PostgreSQL Execution"
}