{"id":"CVE-2026-138032","state":"PUBLISHED","title":"WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","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.","publishedAt":"2026-11-27T19:15:14.326Z","updatedAt":"2026-11-27T19:15:14.326Z","severity":{"score":6,"label":"Medium","version":"4.0","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","source":"VulnCheck"},"assigner":"VulnCheck","products":["clidey whodb"],"affected":[{"vendor":"clidey","product":"whodb","packageURL":"pkg:github/clidey/whodb","defaultStatus":"unaffected","versions":[{"version":"0.88.0","status":"affected","lessThan":"0.132.0","versionType":"semver"}],"repo":"https://github.com/clidey/whodb"}],"references":["https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg","https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j","https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b","https://github.com/clidey/whodb/releases/tag/0.132.0","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-L97","https://www.vulncheck.com/advisories/whodb-0.88.0-before-0.132.0-mcp-read-only-bypass-via-server-side-file-writes"],"weaknesses":["CWE-863"],"ingestedAt":"2026-11-27T19:24:05.298Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/138xxx/CVE-2026-138032.json","commit":"61a884d4c933c2e1b26b70d870ec142a398853e1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-138032","state":"PUBLISHED","datePublished":"2026-11-27T19:15:14.326Z","dateUpdated":"2026-11-27T19:15:14.326Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-11-27T16:44:03.390Z"},"containers":{"cna":{"title":"WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"clidey","product":"whodb","packageURL":"pkg:github/clidey/whodb","defaultStatus":"unaffected","versions":[{"version":"0.88.0","status":"affected","lessThan":"0.132.0","versionType":"semver"}],"repo":"https://github.com/clidey/whodb"}],"references":[{"url":"https://github.com/clidey/whodb/security/advisories/GHSA-6mr5-wx6p-65fg","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-6mr5-wx6p-65fg)"},{"url":"https://github.com/clidey/whodb/security/advisories/GHSA-pvf2-6h4x-r24j","tags":["vendor-advisory"],"name":"GitHub Security Advisory (GHSA-pvf2-6h4x-r24j)"},{"url":"https://github.com/clidey/whodb/commit/9de47fb365dda639aded842ec332cdc399b9939b","tags":["patch"]},{"url":"https://github.com/clidey/whodb/releases/tag/0.132.0","tags":["release-notes"],"name":"WhoDB 0.132.0 Release Notes"},{"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/tools.go#L585-L620","tags":["technical-description"]},{"url":"https://github.com/clidey/whodb/blob/0.131.0/cli/pkg/mcp/validation.go#L115-L145","tags":["technical-description"]},{"url":"https://github.com/clidey/whodb/blob/0.131.0/core/src/sqlguard/classify.go#L81-L97","tags":["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","name":"VulnCheck Advisory: WhoDB 0.88.0 before 0.132.0 MCP Read-Only Bypass via Server-Side File Writes","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","cvssV4_0":{"version":"4.0","vectorString":"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","attackVector":"NETWORK","attackComplexity":"HIGH","attackRequirements":"PRESENT","privilegesRequired":"LOW","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6,"baseSeverity":"MEDIUM"}},{"format":"CVSS","cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-863","lang":"en","description":"Incorrect Authorization","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-11-27T19:15:14.326Z"},"datePublic":"2026-09-30T00:00:00.000Z","cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:clidey:whodb:*:*:*:*:*:*:*:*","versionStartIncluding":"0.88.0","versionEndExcluding":"0.132.0"}]}]}],"credits":[{"lang":"en","value":"Syed Anas Mohiuddin","type":"finder"},{"lang":"en","value":"kasparovabi","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}}}}}