CVE-2026-125321: medium-severity vulnerability in pgedge-postgres-mcp
pgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied header
Published
E-mail alert when it lands in KEV, gets a public PoC or its score goes up.
13Vexday Risk Score
No sign of exploitation. No public exploitation artifact known so far.
ssvc Trackcvss 6.5epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Affected products
pgEdge · pgedge-postgres-mcpRelated CVEs — pgedge-postgres-mcp
In the same product, most dangerous first.
CVE-2026-126196HIGHpgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_databaseEPSS 0.4%CVE-2026-126197HIGHpgEdge Postgres MCP Server SQL injection through custom pl-do tool parametersEPSS 0.4%CVE-2026-125322MEDIUMpgEdge Postgres MCP Server SQL injection in the count_rows where parameterEPSS 0.3%CVE-2026-126198LOWpgEdge Postgres MCP Server custom tools performed writes without user confirmationEPSS 0.3%CVE-2026-126199MEDIUMpgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keywordEPSS 0.2%CVE-2026-125320MEDIUMpgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebindingEPSS 0.1%