Skip to content

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.

PackageAffectedFixed inStatus
pypi postgres-mcp <= 0.3.0 after 0.3.0 Fixed

Affected products

ProductAffected versionsFixed in
pypi postgres-mcp <= 0.3.0 No fix listed

References