{
  "id": "CVE-2026-100683",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-100683",
  "published_at": "2026-09-26T13:23:44.523Z",
  "title": "Budibase before 3.45.0 SQL Injection via column-rename DDL",
  "vendor": "budibase",
  "product": "server",
  "cvss": {
    "score": 8.9,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Budibase (@budibase/server) before 3.45.0 builds MySQL and MSSQL column-rename DDL in packages/backend-core/src/sql/sqlTable.ts by interpolating identifiers directly into a raw query string (backtick-quoted for MySQL, a single-quoted sp_rename literal for MSSQL) without applying the project's quoteMySqlIdentifier / quoteSqlServerIdentifier helpers. An attacker with DDL rights on a connected MySQL/MSSQL datasource can create a column whose name contains a backtick (MySQL) or single quote (MSSQL) plus additional SQL; Budibase's schema introspection stores the name verbatim, and when a Budibase builder later renames that column through the UI (POST /api/tables with _rename.old), the embedded quote character terminates the identifier and the injected SQL is executed. Because the MySQL connection is opened with multipleStatements: true, stacked statements run as Budibase's datasource user, allowing arbitrary reads, writes, or destructive operations on the connected database outside Budibase's row/table permission model. Fixed in 3.45.0.",
  "cwe": "CWE-89",
  "cvss_by_source": {
    "cna": 8.9
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "budibase",
        "product": "server",
        "ranges": [
          "\u003c 3.45.0"
        ],
        "fixed_in": [
          "3.45.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade server to 3.45.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/Budibase/budibase/security/advisories/GHSA-ppj8-hmx2-m546"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
