{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "1.7.0"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StandardRange"
              },
              {
                "range": [
                  {
                    "fixed": "cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v1.7.0",
                "range": [
                  {
                    "fixed": "44616a09ec9cef00625f01e8c993b602562fb4b1"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "44616a09ec9cef00625f01e8c993b602562fb4b1"
            },
            {
              "fixed": "cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"
            }
          ],
          "repo": "https://github.com/bytebase/dbhub",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "VulnCheck",
    "cwe_ids": [
      "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134803.json"
  },
  "details": "DBHub before 1.7.0 contains a read-only mode bypass vulnerability that allows MCP clients restricted to readonly execute_sql to run write and DDL statements via backslash-escaped quotes. Attackers can hide stacked statements that clear transaction_read_only or COMMIT inside strings misparsed by scanSingleQuotedString, letting them modify or drop MySQL, MariaDB, or PostgreSQL data.",
  "id": "CVE-2026-134803",
  "modified": "2026-11-22T22:45:35.517018418Z",
  "published": "2026-11-22T21:22:33.360Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/134xxx/CVE-2026-134803.json"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/bytebase/dbhub"
    },
    {
      "type": "ARTICLE",
      "url": "https://github.com/bytebase/dbhub/blob/v1.6.1/src/utils/sql-parser.ts#L79-L88"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bytebase/dbhub/commit/cc9e3c7ad36b9fafd333a08d455781f2c5b548ee"
    },
    {
      "type": "FIX",
      "url": "https://github.com/bytebase/dbhub/pull/505"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/bytebase/dbhub/releases/tag/v1.7.0"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-134803"
    },
    {
      "type": "ADVISORY",
      "url": "https://www.vulncheck.com/advisories/dbhub-before-1.7.0-read-only-mode-bypass-via-backslash-escaped-quotes"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N",
      "type": "CVSS_V4"
    }
  ],
  "summary": "DBHub before 1.7.0 Read-Only Mode Bypass via Backslash-Escaped Quotes"
}