CVE-2026-85620 Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
CriticalCVSS 9.2
EPSS 0.51%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
1 package: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| pypi postgres-mcp | <= 0.3.0 | after 0.3.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi postgres-mcp | <= 0.3.0 | No fix listed |
References
- GitHub Issue #178 issue-tracking
- github.com product
- github.com technical-description
- VulnCheck Advisory: Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function third-party-advisory
- ENISA EUVD EUVD-2026-71227 third-party-advisory