CVE-2026-138032
WhoDB could treat database file writes as read-only queries
Clidey · WhoDB MCP query approval and read-only policy
First documented disclosure · Review checkpoint
Summary
A caller could use existing database privileges for operations that bypassed WhoDB’s promised approval or read-only gate.
Severity and exploitation evidence
Medium · 6.0/10 · CVSS 4.0. Severity source.
Exploitation not established: The reviewed sources describe a reported weakness or controlled demonstration. They do not establish malicious exploitation or affected victims; no payload or product was executed in this review.
Technical severity is not a measure of observed attacks or of risk to your deployment. Attempts, demonstrations, and successful compromise retain the qualifications in the source.
How the weakness works
A keyword classifier accepted read-shaped statements and function calls with server-side effects, including SELECT INTO and privileged file operations.
Conditions required
Access to whodb_query or a model induced to call it, plus the database permissions required by the operation. MySQL file writes require FILE; PostgreSQL file operations require elevated or delegated privileges, and table creation requires schema CREATE.
Potential impact
Unauthorized table creation or database-host file access within database and operating-system permissions. Ordinary accounts can be denied; host compromise and availability impact were not established.
Affected versions and configurations
CNA: 0.88.0 before 0.132.0. Maintainer headers point to 0.134.0; bodies describe tested 0.131.0 and still say no patched release. These version statements disagree.
Fix and mitigation status
0.134.0 is the conservative maintainer-listed release and explicitly names both GHSAs. Tagged source uses a bounded read grammar and protected connector execution. The same classifier file also exists in 0.132.0; the complete earlier release boundary remains unresolved.
Practical next steps
Upgrade to at least the maintainer’s 0.134.0 correction and use least-privilege database accounts. Remove unnecessary file or schema-creation privileges; do not rely on strict substring filtering alone.
Operating lesson
A statement beginning with SELECT is not proof that it has no side effects.
Evidence and limits
September 30 release/advisories precede November 27 CNA. Two overlapping GHSAs cover server file operations and SELECT INTO behavior; this numbered row preserves their shared CVE mapping. PostgreSQL read-only transactions blocked table creation in the reported 0.131.0 test, while MySQL file writes remained possible. Fresh 0.134.0 classifier, parser, MCP gate and connector code were read; no database or proof of concept was run. Maintainer CVSS 3.1 is 6.2 for one report; CNA 4.0 is 6.0. Severity is attributed to VulnCheck CNA CVSS 4.0. CNA publication 2026-11-27T19:15:14.326Z is separate from the original disclosure.
Sources
- WhoDB server-side file-operation advisory
Primary source ·
- WhoDB SELECT INTO advisory and privilege limits
Primary source ·
- Maintainer-listed issue-specific 0.134.0 release
Primary source ·
- Tagged bounded read grammar
Primary source ·
- Tagged protected connector execution
Primary source ·
- CVE Program: issuing CNA identity and scoring
Primary source ·