{"id":"CVE-2026-85620","published":"2026-09-04T14:32:11Z","modified":"2026-09-14T19:33:09Z","title":"Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function","vendor":"crystaldba","product":"postgres-mcp","tier":"tail","description":{"text":"Postgres MCP Pro 0.3.0 contains a restricted-mode bypass vulnerability where function-name validation is not applied to RangeFunction nodes in FROM clauses. Attackers can execute file-reading functions like pg_read_file through FROM-clause syntax to read arbitrary files despite restricted-mode protections.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.6,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00506,"percentile":0.44099,"provenance":"source"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"references":[{"url":"https://github.com/crystaldba/postgres-mcp/issues/178","tags":["issue-tracking"]},{"url":"https://github.com/crystaldba/postgres-mcp","tags":["product"]},{"url":"https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py","tags":["technical-description"]},{"url":"https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function","tags":["third-party-advisory"]}],"priority":{"score":14.8,"factors":[{"name":"EPSS percentile","points":8.82},{"name":"CVSS severity","points":6.02}]},"vendorSlug":"crystaldba","affectedVersions":[{"vendor":"crystaldba","product":"postgres-mcp","versions":["<= 0.3.0"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-14T19:19:58.465013Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-71227","exploited":false,"provenance":"source"}}