CVE-2026-85620

Source
https://cve.org/CVERecord?id=CVE-2026-85620
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85620.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-85620
Published
2026-09-04T14:32:11.907Z
Modified
2026-09-06T03:47:18.304343747Z
Severity
  • 9.2 (Critical) CVSS_V4 - 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 CVSS Calculator
Summary
Postgres MCP Pro 0.3.0 Restricted-Mode Bypass via FROM-Clause Function
Details

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 pgreadfile through FROM-clause syntax to read arbitrary files despite restricted-mode protections.

Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "cna_assigner": "VulnCheck",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85620.json"
}
References

Affected packages

Git / github.com/crystaldba/postgres-mcp

Affected ranges

Type
GIT
Repo
https://github.com/crystaldba/postgres-mcp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
Database specific
Show details
{
    "source": "AFFECTED_FIELD",
    "extracted_events": [
        {
            "introduced": "0"
        },
        {
            "last_affected": "0.3.0"
        }
    ]
}

Affected versions

v0.*
v0.1.1
v0.1.1rc1
v0.2.0
v0.2.0rc1
v0.3.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85620.json"