CVE-2026-125320 pgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebinding
- Exploited in the wild
- Not known
- Fix
- None listed
What is CVE-2026-125320?
CVE-2026-125320 is a medium-severity vulnerability in pgedge-postgres-mcp, published on 10 Nov 2026.
Official description
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.
Weakness: CWE-346
Which versions are affected by CVE-2026-125320?
How do I fix CVE-2026-125320?
No fix has been published for CVE-2026-125320 yet. Limit exposure of the affected software until one is available.
Is CVE-2026-125320 being exploited?
There is no known exploitation of CVE-2026-125320 in the wild and no public exploit code.
Sources
Also known as GHSA-6hg5-9f3w-c886.