CVE-2026-85620
Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
CVSS Score
8.6
EPSS Score
0.0%
EPSS Percentile
0th
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.
| CWE | CWE-863 |
| Vendor | crystaldba |
| Product | postgres-mcp |
| Published | Sep 4, 2026 |
| Last Updated | Sep 14, 2026 |
Stay Ahead of the Next One
Get instant alerts for crystaldba postgres-mcp
Be the first to know when new high vulnerabilities affecting crystaldba postgres-mcp are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Changed
Confidentiality
High
Integrity
None
Availability
None
Affected Versions
crystaldba / postgres-mcp
0 โค 0.3.0
References
github.com: https://github.com/crystaldba/postgres-mcp/issues/178 github.com: https://github.com/crystaldba/postgres-mcp github.com: https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py vulncheck.com: https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function
Credits
George Chen