Vulnerability Description
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.
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/crystaldba/postgres-mcp
- https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe
- https://github.com/crystaldba/postgres-mcp/issues/178
- https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypa
FAQ
What is CVE-2026-85620?
CVE-2026-85620 is a vulnerability with a CVSS score of 8.6 (HIGH). 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 function...
How severe is CVE-2026-85620?
CVE-2026-85620 has been rated HIGH with a CVSS base score of 8.6/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-85620?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.