Live threats

All CVEs / crystaldba

CVE-2026-85620crystaldba postgres-mcp

Restricted-mode bypass in Postgres MCP Pro via FROM-clause functions

Critical 9.2 No auth needed

Priority
70
CVSS 4.0
9.2
EPSS
—
Auth required
No
Published
Sep 4, 2026
Updated
Sep 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-863
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X

What happens

Postgres MCP Pro 0.3.0 contains a vulnerability that bypasses restricted-mode protections. An unauthenticated attacker can execute file-reading functions like pg_read_file through FROM-clause syntax to read arbitrary files from the system.

Show the original NVD text

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.

Source text, unmodified. NVD.

What to do

No patch data

Update Postgres MCP Pro to a version later than 0.3.0 when available. In the meantime, review access controls and restrict the use of FROM clauses in untrusted queries.

Vendor advisory · github.com ↗

  1. Apply the vendor's security update for postgres-mcp.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.