Vulnerability  ·  2026-11-11

pgEdge Postgres MCP Server: Origin-header validation gap enables DNS rebinding/CSRF (CVE-2026-125320), X-Forwarded-For trust leak (CVE-2026-125321), where-subquery cross-table access (CVE-2026-125322)

VulnerabilityMedium impactGlobalCVE-2026-125320
Three closely related MCP-server defects fixed in 1.1.0: missing Origin validation (CVE-2026-125320), trusting the leftmost X-Forwarded-For as the client address (CVE-2026-125321), and allowing the count_rows 'where' parameter to reference tables outside the named table (CVE-2026-125322). CVSS 5.3/6.5/6.5.
These are classic web-request-hygiene gaps that, on an MCP SQL server, let a prompt-injected or network attacker reach cross-table query results or abuse rate-limiting/auth decisions.
The HTTP transport didn't validate the Origin header, so a user visiting an attacker-controlled page can be targeted through DNS rebinding to reach the MCP endpoint; separately, the leftmost caller-supplied X-Forwarded-For was used as the client address for rate-limit/auth decisions, and the count_rows 'where' parameter accepted subqueries against tables other than the named one.
pgEdge Postgres MCP Server < 1.1.0
Upgrade pgEdge Postgres MCP Server to 1.1.0.
NVD detail (CVE-2026-125320)NVD detail (CVE-2026-125321)NVD detail (CVE-2026-125322)
See this in the live feed Explore related AI security and governance findings — updated every morning.
Open the feed →