{"affected":[{"defaultStatus":"unaffected","ecosystem":"github","packageName":"clidey/whodb","product":"whodb","source":"CNA: VulnCheck","vendor":"clidey","versions":[{"lessThan":"0.132.0","status":"affected","version":"0.88.0","versionType":"semver"}]}],"cveId":"CVE-2026-138032","cwes":["CWE-863"],"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.","epss":null,"exploits":[],"kev":null,"metrics":[{"score":6,"severity":"medium","source":"CNA: VulnCheck","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","version":"4.0"},{"score":5.3,"severity":"medium","source":"CNA: VulnCheck","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"}],"modifiedAt":1795806914326,"publishedAt":1795806914326,"references":[{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg"},{"source":"CNA: VulnCheck","tags":["vendor-advisory"],"url":"https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j"},{"source":"CNA: VulnCheck","tags":["patch"],"url":"https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b"},{"source":"CNA: VulnCheck","tags":["release-notes"],"url":"https://github.com/clidey/whodb/releases/tag/0.132.0"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145"},{"source":"CNA: VulnCheck","tags":["technical-description"],"url":"https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97"},{"source":"CNA: VulnCheck","tags":["third-party-advisory"],"url":"https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-bypass-via-server-side-file-writes"}],"remediation":[{"kind":"fix","source":"CNA: VulnCheck","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b"}],"revision":"65dc21bc519713c6bc20c88bdaabca31672733ad621571f9fc0bef9cc436c1ca","sources":[{"modifiedAt":1795806914326,"name":"CNA: VulnCheck","retrievedAt":1795810108512,"url":"https://www.cve.org/CVERecord?id=CVE-2026-138032"}],"ssvc":null,"status":"published","title":"WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","updatedAt":1795810108512}