{"id":"CVE-2026-85620","title":"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","summary":"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-clau…","severity":"high","cvss":8.6,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","cwe":["CWE-863"],"vendor":"crystaldba","product":"postgres-mcp","affected":["postgres-mcp <= 0.3.0"],"published":"2026-09-04","updated":"2026-09-14","sourceUpdated":"2026-09-14T20:16:58.850","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-85620","references":[{"url":"https://github.com/crystaldba/postgres-mcp","label":"disclosure@vulncheck.com"},{"url":"https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py","label":"disclosure@vulncheck.com"},{"url":"https://github.com/crystaldba/postgres-mcp/issues/178","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"epss":0.00371,"epssPercentile":0.30964,"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-09-14T19:19:58.465013Z"},"ingestedAt":"2026-09-14T20:14:21.164Z","slug":"CVE-2026-85620","body":"## Overview\n\nPostgres 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"twilight","depthScore":47,"depthScoreParts":{"impact":47.3,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}