DBHub 1.1.0 before 1.6.1 contains a validation bypass in the explainsql tool that allows MCP clients to execute statements instead of only…
CVE-2026-142224
DBHub 1.1.0 before 1.6.1 contains a validation bypass in the explainsql 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 pgsleep against PostgreSQL sources.
Part of the AI stack
This affects Model Context Protocol, in MCP & tool servers.
Assessment
- CVSS
- 5.3 (v4.0)
- Severity
- Medium
- EPSS
- 0% chance of exploitation in the next 30 days
- Known exploited
- Not listed in CISA KEV
- Exploit availability
- Nothing found in Exploit-DB, Metasploit, Nuclei or public PoC repositories
- Published
- 2 December 2026
- Last updated
- 2 December 2026
- Weakness
- CWE-184
- Assigner
- disclosure@vulncheck.com
CVSS vectorCVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N
At the source
References
- https://github.com/bytebase/dbhub/blob/0b2532b26da6e31a88d9533b6958b346bb735640/src/tools/explain-sql.ts#L43-L70
- https://github.com/bytebase/dbhub/commit/87c6fc565a1ab17906bea8314862f871206e9c8c
- https://github.com/bytebase/dbhub/issues/501
- https://github.com/bytebase/dbhub/releases/tag/v1.6.1
- https://www.vulncheck.com/advisories/dbhub-1.1.0-before-1.6.1-validation-bypass-via-explain-sql-analyse-keyword
Community proofs of concept
No community proof of concept yet. If you have one for a published vulnerability and the right to share it, add it below — it will appear here once reviewed.
Submit a proof of concept
Only for publicly disclosed vulnerabilities, and only material from testing you were authorised to perform. This platform does not buy, sell, or broker exploits — see earning from vulnerability research for legitimate bounty programs. Submissions are reviewed before they appear. Text only; do not include live credentials, personal data, or anything targeting systems you are not permitted to test.
Query this programmatically
Agents can read this through the MCP endpoint, or over HTTP:
curl https://cve.zerocrew.in/api/cve/CVE-2026-142224