mcp-cve-project

CVE-2026-125321 | pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol | Medium |

CVE Information

Field Value
CVE / NVD CVE-2026-125321
Date (index) 2026-11-10
Affected product (index) pgEdge pgedge-postgres-mcp: pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients.
GHSA ID GHSA-v347-v3w7-7fq9
OWASP MCP Top 10 (2025) MCP07 — Insufficient Authentication & Authorization
Published / disclosed 2026-11-10
Ecosystem Source repository
Component pgEdge pgedge-postgres-mcp
EPSS score 0.004690000 (FIRST EPSS, 2026-11-16)
CVSS score 6.5 MEDIUM CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
CWE CWE-770, CWE-807
Affected versions < 1.1.0
Fixed versions 1.1.0
Fix status Patched
Exploit status Public advisory. This note does not include exploit steps.
Notes Updated on 2026-11-16 from the published CVE record and FIRST EPSS.

CVE Breakdown


What is the vulnerability?

pgEdge Postgres MCP Server enables SQL queries against PostgreSQL databases through Model Context Protocol compatible clients. Prior to 1.1.0, deployments exposing the nondefault HTTP transport with authentication enabled used the leftmost caller-supplied X-Forwarded-For value as the client address for login rate limiting. ExtractIPAddress in internal/auth/middleware.go supplied that value to IsAllowed and RecordFailedAttempt in internal/auth/rate_limiter.go, allowing an unauthenticated caller to rotate addresses to evade throttling or assert another user’s address to consume that user’s limiter bucket. The published nginx configuration appended rather than replaced X-Forwarded-For, making the issue reachable without an operator misconfiguration. Username-keyed account lockout did not use the client address, but shipped defaults disabled that separate control through MaxFailedAttemptsBeforeLockout: 0. This issue is fixed in version 1.1.0.

Attack prerequisites / exposure

Depends on deployment. Typical MCP cases are a reachable HTTP or SSE listener, a malicious remote MCP server, a poisoned project configuration, or a person opening attacker-influenced content. Developer workstations and shared runners are high-value when the server runs with host access.

CVE is because of what bug?

The published weakness mapping is CWE-770, CWE-807. Use the linked advisory for the upstream root cause.

MCP-specific impact / why it matters

This weakness is in an MCP server, SDK, client, or integration. A successful attack can change which tools an agent runs, which data the agent can read, or which host commands run in the operator’s context.

Where was the bug?

File and function names belong in the linked upstream advisory and patch. This index does not repeat exploit inputs.

Fix / Remediation

Upgrade to the vendor’s patched release. Keep HTTP MCP listeners authenticated and off untrusted networks until the upgrade is in place.

Upstream fix

Workarounds

If no patch is available yet, do not expose the MCP listener to untrusted networks and turn off optional tools that run host commands.

Detection / verification