CVE-2026-85620: crystaldba postgres-mcp · Incorrect Authorization
Affects crystaldba postgres-mcpSource CVE Database V5
Not known to be exploited · CVSS 9.2 Critical.
Data as of 2 Dec 2026, 18:37 UTC
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 33% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 Sep 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 3 Dec 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| crystaldbapostgres-mcp | Affected
| Fixed in– |
AI-suggested
Until an official fix is available, restrict access to the affected software and monitor for suspicious activity related to FROM-clause function usage.
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.
References
- github.com/crystaldba/postgres-mcp/issues/178 (opens in a new tab)
- github.com/crystaldba/postgres-mcp (opens in a new tab)
- github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py (opens in a new tab)
- vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function (opens in a new tab)