Skip to main content

pgEdge Postgres MCP Server EUVDEUVD-2026-121393

| CVE-2026-125320 MEDIUM
Origin Validation Error (CWE-346)
2026-11-10 GitHub_M
5.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure victim to attacker-controlled page
  2. Exploit
    Rebind attacker domain to 127.0.0.1
  3. Execution
    Browser reaches local MCP HTTP server
  4. Impact
    Read database schemas and query results

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Origin validation
Exploitation Conditions

Exploitation requires all of the following, per the vendor advisory: (1) the non-default HTTP transport must be explicitly enabled - the default stdio transport is not reachable from a browser at all and is immune; (2) the server must run on a machine that is also used to browse the web, reachable by that browser on a loopback/local interface; (3) the victim must visit an attacker-controlled page (the UI:R factor); and (4) the attacker must stand up DNS rebinding, pointing a domain they control at 127.0.0.1 (the AC:H factor). No credential is needed because the request originates from the user's own machine (PR:N). Limiting factors that reduce realistic risk: the HTTP transport being off by default, the requirement for a co-located browser, and the user-interaction and rebinding-setup hurdles. Documented mitigations short of upgrading: do not enable the HTTP transport, bind the listener to an interface the local browser cannot reach, or front it with a proxy that rejects unexpected Origin headers; the advisory states upgrading to 1.1.0 is the complete fix.

Impact

This is a moderate, conditional-exposure issue rather than an urgent priority. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N, base 5.3) correctly captures the shape: network-reachable and requiring no credential (PR:N), but gated by high attack complexity (AC:H, reflecting the DNS-rebinding setup where the attacker must repoint a domain they control at 127.0.0.1) and by required user interaction (UI:R, the victim must visit an attacker-controlled page). Confidentiality impact is High (C:H) because a successful attack reads schemas and query results of every database the server is configured to reach, while integrity and availability are untouched (I:N/A:N). The vuln.today decision label is 'this_month', not act_now or emergency, which aligns with the signals: there is no CISA KEV listing (not confirmed actively exploited), no EPSS score was supplied, and no working exploit code is referenced - only the vendor advisory, issue, PR and fix commit. The signals are internally consistent and no key datum conflicts, though the real-world exposure is further narrowed by two input-confirmed preconditions: the HTTP transport is off by default, and the affected machine must also be running a browser. Net assessment: a genuine confidentiality risk where HTTP transport is enabled on a workstation-class host, but AC:H plus UI:R plus the non-default transport make opportunistic mass exploitation unlikely; patch within a normal maintenance cycle.

Exploit ScenarioDerived

An operator runs pgEdge Postgres MCP Server with the non-default HTTP transport enabled on a machine they also browse from. The operator visits an attacker-controlled web page, which uses DNS rebinding to make its own hostname resolve to 127.0.0.1, so the browser treats the local MCP server as same-origin and the page drives it to read the schemas and query results of every configured database. No public exploit code is identified at time of analysis, and the high attack complexity (AC:H) plus required victim interaction (UI:R) make this a targeted rather than drive-by-trivial attack.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.1% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

DNS rebinding exposure in pgEdge Postgres MCP Server 1.0.0 and earlier lets a web page the user is merely visiting drive a locally running server and read back the schemas and query results of every database that server is configured to reach. The HTTP transport never validated the Origin header, so an attacker who points a domain they control at 127.0.0.1 is treated by the browser as same-origin with the local server and can read its responses; no credential is needed because the request originates from the victim's own machine. Exploitation is conditional - the non-default HTTP transport must be enabled on a machine that also runs a browser, the victim must visit the attacker's page (UI:R), and rebinding infrastructure must be stood up (AC:H) - and no public exploit identified at time of analysis; the vendor shipped the complete fix in 1.1.0.

RemediationAI

Upgrade to pgEdge Postgres MCP Server 1.1.0 or later, which validates the Origin header across every HTTP route ahead of authentication and refuses an unexpected origin with 403 Forbidden (advisory: https://github.com/pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-6hg5-9f3w-c886, release: https://github.com/pgEdge/pgedge-postgres-mcp/releases/tag/v1.1.0). The upgrade can require configuration: with no origins set the server accepts loopback origins only (localhost, 127.0.0.1, ::1, either scheme, any port), which covers local use and the bundled web client unchanged, but a deployment that serves the web client under a real hostname must list that origin in the new http.allowed_origins setting or the PGEDGE_HTTP_ALLOWED_ORIGINS environment variable, or its own browser requests will be rejected - and because listing any origin replaces the loopback default rather than adding to it, loopback origins must be re-listed if they are also used. The effective policy is printed in the server's startup output, and a malformed entry stops the server rather than being ignored. The vendor states that upgrading is the complete fix; if it cannot be applied yet, the documented alternatives are to leave the HTTP transport disabled (the default stdio transport is not reachable from a browser at all), bind the listener to an interface a browser on the same machine cannot reach, or place the server behind a proxy that rejects requests carrying an unexpected Origin header - each of which reduces local web-client usability or adds an extra hop to maintain.

Affected VersionsENISA

pgedge-postgres-mcp < 1.1.0

Affected Packages

euvd pgedge_postgres_mcp fix: 1.1.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pgEdge Postgres MCP Server exposes PostgreSQL databases to Model Context Protocol clients, translating MCP tool calls into SQL and returning schemas and result sets. It supports a default stdio transport plus an optional Streamable HTTP transport; the HTTP transport is the only one a browser can reach, and it accepted requests without checking the Origin header. That is CWE-346 (Origin Validation Error): the MCP Streamable HTTP specification requires servers to validate Origin on every incoming connection and to answer 403 Forbidden when it is present and invalid, and the project's own spec-compliance documentation recorded this as a known gap in internal/mcp affecting both the current and legacy transports. Under DNS rebinding the attacker's page resolves its own hostname to a loopback address, so the browser considers requests to the local server same-origin and hands the page the responses. The 1.1.0 fix deliberately reads Origin only and never Host, because the attacker controls the hostname the browser connects to and the two would agree precisely in the attack case; the check covers every HTTP route, not just the MCP endpoint, and runs ahead of authentication. Requests that carry no Origin header at all are unaffected, and a malformed configured origin aborts startup rather than being silently ignored.

Know when Pgedge Postgres Mcp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 5.3 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
vuln.today AI 5.3 MEDIUM

Network-reachable with no credential (PR:N) but gated by DNS-rebinding setup (AC:H) and a victim page visit (UI:R); reads all configured database schemas/results so C:H, with no write or availability impact.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 18:03 EUVD

DescriptionCVE.org

pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, the HTTP transport did not validate the Origin header on incoming requests. A user who visited an attacker-controlled page could be targeted through DNS rebinding, allowing the page to reach a locally running server and read schemas and query results from configured databases. The issue affected deployments with the HTTP transport enabled on a machine that also ran a browser, while the default stdio transport was not reachable through this path. This issue is fixed in version 1.1.0.

Threat Intelligence Overview

EPSS Score
0.1%
Top 96% exploitable
Prevalence
Low
niche MCP server tool with limited, early-adopter deployment footprint
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.1%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy