# CVE-2026-125320: pgEdge Postgres MCP Server DNS rebinding in HTTP transport

Source: https://junglewise.ai/threats/cve-2026-125320-pgedge-postgres-mcp-server-enables-sql-queries-against  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-11-10. Updated: 2026-11-10  
License: CC BY 4.0 with a link back

CVE-2026-125320 · Severity: medium · CVSS 5.3 · Published 2026-11-10

pgEdge Postgres MCP Server is a tool that allows SQL queries against PostgreSQL databases through compatible client applications. If the HTTP transport is enabled, an attacker can trick a user into visiting a malicious webpage that performs DNS rebinding to reach the locally running server and read database schemas or execute queries without proper authorization.

Technologies: [pgEdge Postgres MCP Server](https://junglewise.ai/threats/technologies/pgedge-postgres-mcp-server). Vendors: [pgEdge](https://junglewise.ai/threats/vendors/pgedge).

## Quick answers

**Is CVE-2026-125320 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-125320 being exploited in the wild.

**How severe is CVE-2026-125320?** Medium severity, with a CVSS score of 5.3, published 10 November 2026.

**Which products and versions are affected?** pgEdge Postgres MCP Server prior to 1.1.0.

**Is there a fix for CVE-2026-125320?** Yes: fixed in 1.1.0. Until then: Disable the HTTP transport if not required; use only the default stdio transport. Alternatively, bind the HTTP server only to localhost (127.0.0.1) rather than all network interfaces (0.0.0.0) to limit exposure to local network attackers. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-125320 attacked?** It is attacked over the network, in a software library.

**Am I affected by CVE-2026-125320?** Check whether you run pgEdge Postgres MCP Server at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- Fixed in 1.1.0

Disable the HTTP transport if not required; use only the default stdio transport. Alternatively, bind the HTTP server only to localhost (127.0.0.1) rather than all network interfaces (0.0.0.0) to limit exposure to local network attackers.

## Technical details

The HTTP transport failed to validate the Origin header on incoming requests, allowing DNS rebinding attacks. An attacker-controlled page could resolve its domain to 127.0.0.1, bypass same-origin policy checks, and issue MCP requests to the local server. The vulnerability affects deployments with HTTP transport enabled on machines running a browser; the default stdio transport is not exploitable via this path.

## Affected products

- pgEdge Postgres MCP Server prior to 1.1.0

## Timeline

- 2026-11-10: disclosed
- 2026-08-07: patched

## References

- [https://github.com/pgEdge/pgedge-postgres-mcp/commit/5571bd492a803e8f8831599c88b4619c5041fd8e](https://github.com/pgEdge/pgedge-postgres-mcp/commit/5571bd492a803e8f8831599c88b4619c5041fd8e)
- [https://github.com/pgEdge/pgedge-postgres-mcp/issues/231](https://github.com/pgEdge/pgedge-postgres-mcp/issues/231)

## Related threats

- [pgEdge Postgres MCP Server write confirmation bypass in SQL classification](https://junglewise.ai/threats/cve-2026-126199-pgedge-postgres-mcp-server-enables-sql-queries-against)
- [pgEdge Postgres MCP Server SQL injection in pl-do custom tools](https://junglewise.ai/threats/cve-2026-126197-pgedge-postgres-mcp-server-enables-sql-queries-against)
- [pgEdge Postgres MCP Server read-only bypass via SQL injection](https://junglewise.ai/threats/cve-2026-126196-pgedge-postgres-mcp-server-enables-sql-queries-against)
- [pgEdge Postgres MCP Server SQL injection in count_rows](https://junglewise.ai/threats/cve-2026-125322-pgedge-postgres-mcp-server-enables-sql-queries-against)
- [pgEdge Postgres MCP Server rate limit bypass via X-Forwarded-For header spoofing](https://junglewise.ai/threats/cve-2026-125321-pgedge-postgres-mcp-server-enables-sql-queries-against)
