1. Home
  2. Vulnerabilities
  3. CVE-2026-125321

CVE-2026-125321

pgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied header

Published 10 Nov 2026 · modified 12 Nov 2026 · Sources: NVD, CNA (vendor or assigner), EPSS (FIRST)

Medium 40/100

Summary

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 and versions

pgEdge (1 line(s))
pgEdge
ProductVersionsFixed inSource
pgedge-postgres-mcp Versions not specified — CNA (vendor or assigner)

Fix

Not provided by the vendor.

Workaround

No workaround provided.

Check whether you are affected

No verification method provided.

Timeline

  1. — CVE published (cve)

References

Data provenance

Status
NVD
Publication date
NVD
Description
CNA (vendor or assigner)
CVSS score
CNA (vendor or assigner)
Weakness (CWE)
NVD
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L (CVSS 3.1, CNA:GitHub_M)
Weakness
CWE-770 · Autre (CWE-770)

How this data is obtained and calculated