Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620
- https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145
- https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L
- https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b
- https://github.com/clidey/whodb/releases/tag/0.132.0
- https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg
- https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j
- https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-b
FAQ
What is CVE-2026-138032?
CVE-2026-138032 is a vulnerability with a CVSS score of 5.3 (MEDIUM). 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 omi...
How severe is CVE-2026-138032?
CVE-2026-138032 has been rated MEDIUM with a CVSS base score of 5.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-138032?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.