# CVE-2026-85620

## Summary

- **CVE ID:** CVE-2026-85620
- **Severity:** CRITICAL
- **CVSS Score:** 9.2 (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)
- **CWE:** CWE-863
- **Published:** Sep 4, 2026
- **Last Modified:** Sep 14, 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.

## Affected Products

- crystaldba — postgres-mcp (0)

## References

- [CNA](https://github.com/crystaldba/postgres-mcp/issues/178)
- [CNA](https://github.com/crystaldba/postgres-mcp)
- [CNA](https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py)
- [CNA](https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function)

## Exploitation Prediction (EPSS)

- **EPSS Score:** 0.37%
- **EPSS Percentile:** 30.9

---
_Exported from OnDuty AI Vulnerability Intelligence on 2026-09-19._