CVE-2026-138032
WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes
Medium · 6.0Fix available
- CVSS
- 6
- EPSS
- —
- Published
- 2026-11-27
- Age
- 20h old
- Modified
- 2026-11-27
- Product
- clidey whodb
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
Description
WhoDB from 0.88.0 before 0.132.0 contains an access control bypass in the MCP whodb_query tool, letting callers run file-writing statements without approval because the sqlguard keyword classifier omits INTO, OUTFILE and DUMPFILE. MCP clients or prompt-injected models can execute PostgreSQL lo_export or MySQL SELECT INTO OUTFILE to create files on the database host and create tables, bypassing confirmation and read-only modes.
Fixed in
0.132.0
Affected packages
| Ecosystem | Package | Range | Fixed |
|---|---|---|---|
| vendor | whodb | >=0.88.0, <0.132.0 | 0.132.0 |
Sources
- NVD · first seen 18h ago · NVD terms of use
- OSV · first seen 18h ago · CC-BY 4.0
- CVE List · first seen 19h ago · CVE Terms of Use
References
- https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg vendor-advisory
- https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j vendor-advisory
- https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b patch
- https://github.com/clidey/whodb/releases/tag/0.132.0 release-notes
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620 technical-description
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145 technical-description
- https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97 technical-description
- https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-bypass-via-server-side-file-writes third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138032.json advisory
- https://github.com/clidey/whodb package
- https://nvd.nist.gov/vuln/detail/CVE-2026-138032 advisory