{"id":"CVE-2026-138032","aliases":[],"title":"WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","originalDescription":"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.","severity":{"cvss":6,"vector":"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","label":"medium"},"exploitation":{"kev":null,"epss":null,"exploitDb":null},"affected":[{"ecosystem":"vendor","name":"whodb","range":">=0.88.0, <0.132.0","fixed":"0.132.0"}],"references":[{"url":"https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg","type":"vendor-advisory"},{"url":"https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j","type":"vendor-advisory"},{"url":"https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b","type":"patch"},{"url":"https://github.com/clidey/whodb/releases/tag/0.132.0","type":"release-notes"},{"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620","type":"technical-description"},{"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145","type":"technical-description"},{"url":"https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97","type":"technical-description"},{"url":"https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-bypass-via-server-side-file-writes","type":"third-party-advisory"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/138xxx/CVE-2026-138032.json","type":"advisory"},{"url":"https://github.com/clidey/whodb","type":"package"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138032","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-27T20:51:04.855Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-138032","license":"NVD terms of use","firstSeenAt":"2026-11-27T20:51:04.855Z"},{"name":"osv","at":"2026-11-27T22:30:54.907Z","url":"https://osv.dev/vulnerability/CVE-2026-138032","license":"CC-BY 4.0","firstSeenAt":"2026-11-27T21:24:55.228Z"},{"name":"cvelistV5","at":"2026-11-28T14:58:03.479Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-138032","license":"CVE Terms of Use","firstSeenAt":"2026-11-27T19:42:35.780Z"}],"firstSeenAt":"2026-11-27T19:42:35.780Z","publishedAt":"2026-11-27T19:15:14.326Z","modifiedAt":"2026-11-27T21:00:53.707Z"}