Vulnerability

CVE-2026-125321

mediumCVSS 3.1 6.5Published 10 Nov 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /pgEdge/pgedge-postgres-mcp/commit/6a19e46a240b9f4661a4a253…
  • github.com /pgEdge/pgedge-postgres-mcp/issues/204
  • github.com /pgEdge/pgedge-postgres-mcp/pull/205
  • github.com /pgEdge/pgedge-postgres-mcp/security/advisories/GHSA-v347-v…

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning