Skip to main content
EPSS 0.5%top 58%

CVE-2026-85620: Incorrect Authorization in crystaldba postgres-mcp

0
Critical
VulnerabilityCVE-2026-85620cvecve-2026-85620
Published: 09/04/2026 (09/04/2026, 14:32:11 UTC)
Source: CVE Database V5
Vendor/Project: crystaldba
Product: postgres-mcp

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.

CVSS v4.0

Score 9.2critical

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
None
Vuln. Availability
None
Subsq. Confidentiality
High
Subsq. Integrity
None
Subsq. Availability
None
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

Affected software

crystaldba

postgres-mcp

Affected versions
>=0 <=0.3.0

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/14/2026, 22:40:27 UTC

Technical Analysis

Postgres MCP Pro versions up to and including 0.3.0 contain an incorrect authorization vulnerability where function-name validation is not enforced on RangeFunction nodes within FROM clauses. This flaw permits attackers to invoke file-reading functions like pg_read_file despite restricted-mode restrictions, leading to unauthorized file access. The vulnerability has a CVSS 4.0 score of 9.2, indicating a critical severity with network attack vector, no privileges or user interaction required, and high impact on confidentiality and security capabilities.

Potential Impact

Exploitation of this vulnerability allows remote attackers to read arbitrary files on the affected system without authentication or user interaction, bypassing restricted-mode protections. This can lead to disclosure of sensitive information and compromise of system confidentiality and security.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, restrict access to the affected software and monitor for suspicious activity related to FROM-clause function usage.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-09-04T11:03:33.315Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6a9adb41acd9273b49bef506

Added to database: 09/04/2026, 14:52:49 UTC

Last enriched: 09/14/2026, 22:40:27 UTC

Last updated: 10/19/2026, 18:48:24 UTC

Views: 129

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses