SecurityContext

CVE-2026-85620: Postgres MCP Pro - Broken Access Control

  • Cve: CVE-2026-85620
  • Name: Postgres MCP Pro - Broken Access Control
  • 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.
  • Impact: Attackers can read arbitrary files bypassing restricted-mode protections, potentially exposing sensitive data.
  • Remediation: Update to the latest version.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: file_system_read, information_disclosure
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.6
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
  • Epss score: 0.00506
  • Epss percentile: 0.43781
  • Assignee: [email protected]
  • Published at: 2026-09-04T15:17:42Z
  • Age in days: 81
  • Modified at: 2026-09-24T20:44:42Z
  • References total: 4
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-85620
  • Nvd status: awaiting_analysis
  • Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-863Incorrect Authorization

References

Same in every row:

  • Source: nvd
  • Tags:
Url
https://github.com/crystaldba/postgres-mcp
https://github.com/crystaldba/postgres-mcp/blob/v0.3.0/src/postgres_mcp/sql/safe_sql.py
https://github.com/crystaldba/postgres-mcp/issues/178
https://www.vulncheck.com/advisories/postgres-mcp-pro-0.3.0-restricted-mode-bypass-via-from-clause-function

Projects

RepositoryLink kindsIndexedUrl
crystaldba/postgres-mcpissuesyes/v1/repositories/crystaldba/postgres-mcp

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts