Vulnerability · Published Sep 4, 2026 · Assigned by VulnCheck
CVE-2026-85620Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
High 8.6
In plain English
A high-severity incorrect authorization in postgres-mcp from crystaldba. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 43% of all known vulnerabilities).
Severity (CVSS 3.1)8.6High
Exploit odds (30 days)0.5%top 56.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official 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.
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| crystaldba | postgres-mcp | 0 – through 0.3.0 |
Weakness: CWE-863 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
References
- GitHub Issue #178 issue-tracking
- https://github.com/crystaldba/postgres-mcp product
- https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py technical-description
- VulnCheck Advisory: Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function third-party-advisory