CVE-2026-85620
Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
- State
- Published
- Severity
- 9.2 Critical
- Published
- Sep 4, 2026
- Updated
- Sep 14, 2026
- Reserved
- Sep 4, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 9.2 Critical | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N | VulnCheck |
| 3.1 | 8.6 High | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
Affected Products
| Product | Versions |
|---|---|
postgres-mcpcrystaldba |
|
References
- GitHub Issue #178issue-tracking
- https://github.com/crystaldba/postgres-mcpproduct
- https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.pytechnical-description
- VulnCheck Advisory: Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Functionthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.