{"id":"CVE-2026-142224","summary":"DBHub 1.1.0 before 1.6.1 Validation Bypass via explain_sql ANALYSE Keyword","details":"DBHub 1.1.0 before 1.6.1 contains a validation bypass in the explain_sql tool that allows MCP clients to execute statements instead of only planning them. Attackers can submit ANALYSE SELECT or (ANALYSE) SELECT input to run arbitrary read-only queries and functions like pg_sleep against PostgreSQL sources.","modified":"2026-12-02T18:00:19.041024874Z","published":"2026-12-02T16:50:20.865Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142224.json","cna_assigner":"VulnCheck","cwe_ids":["CWE-184"]},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142224.json"},{"type":"PACKAGE","url":"https://github.com/bytebase/dbhub"},{"type":"ARTICLE","url":"https://github.com/bytebase/dbhub/blob/0b2532b26da6e31a88d9533b6958b346bb735640/src/tools/explain-sql.ts#L43-L70"},{"type":"FIX","url":"https://github.com/bytebase/dbhub/commit/87c6fc565a1ab17906bea8314862f871206e9c8c"},{"type":"REPORT","url":"https://github.com/bytebase/dbhub/issues/501"},{"type":"ADVISORY","url":"https://github.com/bytebase/dbhub/releases/tag/v1.6.1"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142224"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/dbhub-1.1.0-before-1.6.1-validation-bypass-via-explain-sql-analyse-keyword"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/bytebase/dbhub","events":[{"introduced":"0d1acdce078a2b71a2cae8378c7cab5d580f3575"},{"fixed":"c4166110eee8d42a717c0e047f80a0592fa79f69"},{"fixed":"87c6fc565a1ab17906bea8314862f871206e9c8c"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"1.1.0"},{"fixed":"1.6.1"}]},{"range":[{"fixed":"87c6fc565a1ab17906bea8314862f871206e9c8c"}],"source":"REFERENCES_COMMIT"},{"original_tag":"v1.6.1","range":[{"fixed":"c4166110eee8d42a717c0e047f80a0592fa79f69"}],"source":"REFERENCES_TAG"}]}}],"versions":["v1.6.0","v1.5.1","v1.5.0","v1.4.0","v1.3.1","v1.3.0","v1.2.5","v1.2.4","v1.2.3","v1.2.2","v1.2.1","v1.2.0","v1.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-142224.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N"}]}