CVE-2026-85620: Vulnerability in Crystaldba Postgres-mcp

Critical. 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.

CWE-863

Exploitation
None confirmed
Severity
9.2 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Vector
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
Weakness
CWE-863
Published
4 Sept 2026
Last change
24 Sept 2026

Affected products

Affected versions and the first fixed release

  • Crystaldba Postgres-mcp Through 0.3.0. No fixed version recorded

Advisories

Vendor and security advisories

Related