WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes
- State
- Published
- Severity
- 6.0 Medium
- Published
- Nov 27, 2026
- Updated
- Nov 27, 2026
- Reserved
- Nov 27, 2026
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.
| Product | Versions |
|---|---|
| whodb clidey | 0.88.0 to before 0.132.0 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 6.0 Medium | VulnCheck | |
| 3.1 | 5.3 Medium | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
References
- GitHub Security Advisory (GHSA-6mr5-wx6p-65fg)Vendor Advisory
- GitHub Security Advisory (GHSA-pvf2-6h4x-r24j)Vendor Advisory
- https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939bPatch
- WhoDB 0.132.0 Release NotesRelease Notes
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620Technical Details
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145Technical Details
- https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97Technical Details
- VulnCheck Advisory: WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File WritesThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.