{"id":"CVE-2026-138032","summary":"WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","details":"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.","modified":"2026-11-27T21:00:53.707430896Z","published":"2026-11-27T19:15:14.326Z","related":["GHSA-6mr5-wx6p-65fg","GHSA-pvf2-6h4x-r24j"],"database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-863"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138032.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138032.json"},{"type":"PACKAGE","url":"https://github.com/clidey/whodb"},{"type":"ARTICLE","url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620"},{"type":"ARTICLE","url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145"},{"type":"ARTICLE","url":"https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97"},{"type":"FIX","url":"https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b"},{"type":"ADVISORY","url":"https://github.com/clidey/whodb/releases/tag/0.132.0"},{"type":"ADVISORY","url":"https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg"},{"type":"ADVISORY","url":"https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138032"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-bypass-via-server-side-file-writes"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/clidey/whodb","events":[{"introduced":"754687c4da6f8539902e28582e877b1835c3e568"},{"fixed":"24c53c73142edd488a9684d7c49d071eda25fdf3"},{"fixed":"9de47fb365dda639aded842ec332cdc399b9939b"}],"database_specific":{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"0.88.0"},{"fixed":"0.132.0"}],"source":"AFFECTED_FIELD"},{"source":"REFERENCES_COMMIT","range":[{"fixed":"9de47fb365dda639aded842ec332cdc399b9939b"}]},{"source":"REFERENCES_TAG","original_tag":"0.132.0","range":[{"fixed":"24c53c73142edd488a9684d7c49d071eda25fdf3"}]}]}}],"versions":["0.131.0","0.130.0","0.129.0","0.128.0","sdk/packages/go/v0.127.3","0.127.0","0.126.0","0.125.0","0.124.0","0.123.0","0.122.0","0.121.0","0.120.0","0.119.0","0.118.0","0.117.0","0.116.0","0.115.0","0.114.0","0.112.0","0.111.0","0.110.0","0.109.0","0.108.0","0.107.0","0.106.0","0.105.0","0.104.0","0.103.0","0.101.0","0.102.0","0.100.0","0.99.0","0.98.0","0.97.0","0.96.0","0.95.0","0.94.0","0.93.0","0.91.0","0.92.0","0.90.1","0.90.0","0.89.0","0.88.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-138032.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}