Vulnerability details
CVE-2026-85620
crystaldba postgres-mcp
Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
CVSS 4.0
9.2Critical
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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.2Critical | 4.0 | CVEProject cvelistV5 (CNA) (VulnCheck) | 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 |
| 8.6High | 3.1 | CVEProject cvelistV5 (CNA) (VulnCheck) | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| crystaldba | postgres-mcp | v ≤ 0.3.0 | CVEProject cvelistV5 (CNA) |
References and advisories
4- https://github.com/crystaldba/postgres-mcp/issues/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
- https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function third-party-advisory
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-09-04
- Last updated
- 2026-09-14
- State
- Published
- Assigner (CNA)
- VulnCheck
Exploit prediction (EPSS)
0.5%
Probability of exploitation in 30 days
43.4%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- Yes
- Exploitation
- None
- Technical impact
- Partial
Weaknesses (CWE)
- CWE-863Incorrect Authorization