CVE Hunter
›
CVE-2026-61788

CWE-184 · CWE-636 · CWE-863

HIGH CVSS 7.4 NVD

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.

Yayınlanma 24.09.2026
ISO Tarih 2026-09-24
CVSS Sürüm v3.1
Kaynak NVD
CVSS v3.1 Metrikleri
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability None A:N
AI Güvenlik Analizi
🤖 Yapay Zeka Güvenlik Analizi Hazırlanıyor…
CVSS vektörü ve CWE zayıflık yapısı inceleniyor…
Hedef Keşif Sorguları
CVSS Skoru
7.4 / 10 · CVSS HIGH
Zayıflık Türleri (CWE)
CWE-184 CWE-636 CWE-863
Referanslar (2)
İlgili CVE'ler
9.9
CVE-2026-130773
Incus before 7.6.0 contains an authorization bypass that allows restricted project users to create resources i
9.9
CVE-2026-130784
Incus before 7.6.0 contains an authorization bypass vulnerability that allows restricted clients to create and
8.8
CVE-2026-130704
NocoDB before 2026.10.0 contains an improper access control vulnerability that allows Creator-role users to at
8.8
CVE-2026-130690
NocoDB before 2026.10.1 contains an incorrect authorization vulnerability that allows organization Creators to
8.8
CVE-2026-92182
Netgate pfSense CE XMLRPC Incorrect Authorization Remote Code Execution Vulnerability. This vulnerability allo
8.2
CVE-2026-130745
Grav from 2.0.0 before 2.2.18 contains an access control bypass vulnerability that allows anonymous visitors t