> CVE-2026-61788 [HIGH]

« BACK_TO_HOME
PUBLISHED
2026-09-24 18:17
MODIFIED
2026-09-24 18:17
CVSS_SCORE V3
7.4
EPSS (Prob. Exploit)
0.30%
Top 78.3%
DATA SOURCES:
NVD đź”— 2026-09-24 CWE MITRE đź”— 2026-10-01 FIRST EPSS đź”— 2026-10-21 GITHUB đź”— 2026-10-01 OSV đź”— 2026-10-19

> DESCRIPTION

DBHub is a database MCP server for Postgres, MySQL, SQL Server, Oracle, MariaDB, SQLite. Prior to version 0.22.6, 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. With an ordinary role this allows sequence tampering; with a privileged role it allows writing arbitrary files on the server (`lo_export`), reading arbitrary host files (`pg_read_file`), and remote code execution (`dblink` + `COPY ... TO PROGRAM`). The HTTP transport is unauthenticated and binds to `0.0.0.0` by default, so this is reachable by any network caller of `/mcp`. Version 0.22.6 patches the issue.

> AFFECTED_PRODUCTS

ℹ️ Aucun produit affecté n'a encore été publié par NVD pour cette CVE.

> CVSS V3 METRICS

CVSS_VECTOR
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
EXPLOITABILITY
2.2
IMPACT
5.2

> MÉTRIQUES CVSS DÉTAILLÉES

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Métrique Valeur Interprétation
AV (Vecteur d'Attaque)
Attack Vector
Network (N)
Exploit possible à distance via réseau (HTTP, API, etc.)
AC (Complexité d'Attaque)
Attack Complexity
High (H)
Conditions spécifiques doivent être réunies pour exploiter
PR (Privilèges Requis)
Privileges Required
None (N)
Aucune authentification requise
UI (Interaction Utilisateur)
User Interaction
None (N)
Aucune interaction utilisateur nécessaire
S (Périmètre)
Scope
Unchanged (U)
Impact reste dans le périmètre du composant compromis
C (Impact Confidentialité)
Confidentiality Impact
High (H)
Divulgation totale d'informations
I (Impact Intégrité)
Integrity Impact
High (H)
Modification totale des données possible
A (Impact Disponibilité)
Availability Impact
None (N)
Aucune interruption de service

> RÉSUMÉ DES IMPACTS

Confidentialité
High
Divulgation totale d'informations
Intégrité
High
Modification totale des données possible
Disponibilité
None
Aucune interruption de service

> WEAKNESSES

CWE-184 CWE-636 CWE-863

> CWE DETAILED DESCRIPTIONS

CWE-184: Incomplete List of Disallowed Inputs - The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise require other action to neutralize before additional processing takes place, but the list is incomplete. | CWE-636: Not Failing Securely ('Failing Open') - When the product encounters an error condition or failure, its design requires it to fall back to a state that is less secure than other options that are available, such as selecting the weakest encryption algorithm or using the most permissive access control restrictions. | CWE-863: Incorrect Authorization - The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

> GITHUB SECURITY ADVISORY

GHSA-mwwr-p57h-56pf HIGH

@bytebase/dbhub's read-only mode does not prevent database writes

AFFECTED PACKAGES:
NPM / @bytebase/dbhub
< 0.22.6
Fixed in: 0.22.6

> OSV (GOOGLE OPEN SOURCE VULNERABILITIES)

@bytebase/dbhub's read-only mode does not prevent database writes

AFFECTED PACKAGES:
Unknown / Unknown
ALIASES:
GHSA-mwwr-p57h-56pf

> HISTORIQUE DES MODIFICATIONS

Première apparition
24/09/2026 18:17
Source: NVD
📊 ENRICHISSEMENT 01/10/2026 06:01
CWE
Champ modifié: Description CWE
Ancienne valeur:
N/A
Nouvelle valeur:
CWE-184: Incomplete List of Disallowed Inputs - The product implements a protection mechanism that relies on a list of inputs (or properties of inputs) that are not allowed by policy or otherwise requ...
Total des modifications: 1 Dernière mise à jour: 3 weeks ago

> REFERENCES

https://github.com/bytebase/dbhub/security/advisories/GHSA-mwwr-p57h-56pf
« BACK_TO_HOME