# DBHub: MySQL and MariaDB comment interpretation bypasses read-only SQL validation

Advisory record · `GHSA-j656-3hf2-fvjc`

- **Identifiers:** `GHSA-j656-3hf2-fvjc` · `CVE-2026-61789`
- **State:** Confirmed
- **Severity:** CVSS 6.1 Medium
- **Critical:** No
- **Weakness (CWE):** [CWE-436](https://cwe.mitre.org/data/definitions/436.html) · [CWE-863](https://cwe.mitre.org/data/definitions/863.html)
- **Tags:** [Broken access control](https://agentprime.io/advisories/tag/access-control.md) · [CWE-436](https://agentprime.io/advisories/tag/cwe-436.md)
- **Published:** 2 Nov 2026
- **Updated:** 2 Nov 2026
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 2 Nov 2026, 17:57 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `@bytebase/dbhub` (npm): affected `<0.22.6`; fixed in `0.22.6`

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 6.1 Medium, CVSS 4.0: `CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N`, from CNA (GitHub_M)

- **CISA KEV:** Not listed.
- **EPSS:** 0.0039, the 32nd percentile, on 5 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 18:56 UTC: First seen by agentprime
- 2 Nov 2026, 17:57 UTC: [Confirmed by GitHub Advisory Database](https://github.com/advisories/GHSA-j656-3hf2-fvjc)
- 2 Nov 2026, 18:15 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-j656-3hf2-fvjc)

## Sources

- [GitHub Advisory Database: GHSA-j656-3hf2-fvjc](https://github.com/advisories/GHSA-j656-3hf2-fvjc)
- [OSV: GHSA-j656-3hf2-fvjc](https://osv.dev/vulnerability/GHSA-j656-3hf2-fvjc)
- <https://github.com/bytebase/dbhub/security/advisories/GHSA-j656-3hf2-fvjc>
- <https://github.com/bytebase/dbhub/pull/342>
- <https://github.com/bytebase/dbhub/commit/872bb338f7d31f6afe517a076ac3e3edafaaaf08>
- <https://github.com/bytebase/dbhub>
- <https://github.com/bytebase/dbhub/releases/tag/v0.22.6>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-j656-3hf2-fvjc>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-j656-3hf2-fvjc/>. Everything for agents: <https://agentprime.io/llms.txt>.
