Vulnerability  ·  2026-11-29

WhoDB MCP whodb_query access-control bypass allows file-writing statements

VulnerabilityMedium impactGlobalCVE-2026-138032
WhoDB from 0.88.0 before 0.132.0 has an access-control bypass in the MCP whodb_query tool. The sqlguard keyword classifier omits INTO, OUTFILE and DUMPFILE, so callers can run file-writing statements without approval; MCP clients or prompt-injected models can execute PostgreSQL lo_export (and similar) to write files outside the intended DB scope. Published 2026-11-27, fixed in 0.132.0.
A DB-browsing MCP tool that is supposed to be read-focused can be driven (via prompt injection or a malicious MCP client) into writing files on the host, turning a data-exploration agent into a file-write primitive.
MCP client or prompt-injected model calls whodb_query with INTO/OUTFILE/DUMPFILE/lo_export statements that bypass the sqlguard classifier to write files.
WhoDB 0.88.0 to < 0.132.0
Upgrade to WhoDB 0.132.0 or later.
NVD detailWhoDB MCP tools source
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →