Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
crystaldba postgres-mcp
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| crystaldba postgres-mcp |
| No fix yet |
Original 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.
From the CVE record · VulnCheck