{"id":"CVE-2026-85620","aliases":["CVE-2026-85620"],"related":[],"kind":"vulnerability","state":"published","title":"Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function","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-clause syntax to read arbitrary files despite restricted-mode protections.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-09-04T14:32:11.907Z","modified":"2026-09-24T20:44:42.207Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N","score":9.2,"rating":"CRITICAL"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N","score":8.6,"rating":"HIGH"}],"cwes":["CWE-863"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.3.0","status":"affected"}],"vendor":"crystaldba","product":"postgres-mcp","source":"cvelist"}],"references":[{"url":"https://github.com/crystaldba/postgres-mcp/issues/178","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/crystaldba/postgres-mcp","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-09-14T19:19:58.465Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85620","url":"https://www.cve.org/CVERecord?id=CVE-2026-85620","licence":"CVE Terms of Use","modified":"2026-09-14T19:33:09.339Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85620","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85620","licence":"Public domain","modified":"2026-09-24T20:44:42.207Z"}],"updatedAt":"2026-11-25T22:59:36.294Z","epss":{"score":0.00378,"percentile":0.33899,"date":"2026-12-01T12:00:22.000Z"}}