Skip to content
← archivevulnerability · 24 Sep 2026 · 19:37 UTC

GHSA-mwwr-p57h-56pf: @bytebase/dbhub's read-only mode does not prevent database writes

VULNCVE-2026-61788source · GTH
HIGHHigh-risk vulnerability — CVSS 7.4

last 60 dispatches · spectrum

### Summary Setting `readonly = true` on the `execute_sql` tool does not make the connection read-only. The connectors are written to set PostgreSQL `default_transaction_read_only=on` (and open SQLite in `readOnly` mode), but that code is gated on a config value that is never populated, so it never runs. The only thing left enforcing read-only is a classifier that inspects the first keyword of each statement. Any `SELECT` that writes or has side effects through a function call passes it. …

grounded ✓primary source ↗
Early access

Get the next one first.

Early access opens the actor API and MCP server first, plus alerts when an adversary you follow lands on the wire. One email when it's ready. Nothing else, ever.

bot-protected