AI Stack Alert Medium CVE-2026-125321 For AppSec, AI Eng, SOC / IR AI-assisted
CVE-2026-125321: pgEdge Postgres MCP Server before 1.1.0 trusts spoofable X-Forwarded-For for login rate limiting
pgEdge Postgres MCP Server versions before 1.1.0 use the leftmost caller-supplied X-Forwarded-For value as the client address for login rate limiting on the nondefault HTTP transport with authentication enabled. An unauthenticated caller can rotate addresses to evade throttling or assert another user's address to consume that user's limiter bucket. The issue is fixed in version 1.1.0.
Why it matters
Attackers can bypass IP-based login throttling against deployments that expose the HTTP transport, enabling password guessing against database access. Because username-keyed lockout defaults to disabled, shipped configurations may offer no effective brute-force limit.
Do this
- Upgrade pgEdge Postgres MCP Server to version 1.1.0 or later.
- Until patched, confirm whether the HTTP transport with authentication is exposed and restrict access to it.
- Review the nginx configuration so X-Forwarded-For is replaced by the proxy rather than appended to.
- Verify MaxFailedAttemptsBeforeLockout is set to a non-zero value to enable username-keyed account lockout.
- Hunt web and auth logs for high volumes of failed logins with rotating or unusual X-Forwarded-For values.
Exploit Clock
Exploitation unlikely (for now)
- EPSS 0.47%
Signals
- NoCISA KEV
- 6.5CVSS
- 0.47%EPSS
- NoPublic PoC
- 27/100Priority
- 80%Confidence
Evidence
“used the leftmost caller-supplied X-Forwarded-For value as the client address for login rate limiting”
“allowing an unauthenticated caller to rotate addresses to evade throttling or assert another user's address to consume that user's limiter bucket”
“shipped defaults disabled that separate control through MaxFailedAttemptsBeforeLockout: 0”
Sources
Affected / related
pgEdge Postgres MCP Server, X-Forwarded-For spoofing
Published 2026-11-10 18:17 UTC · updated 2026-11-12 16:46 UTC · AI-assisted summary, checked against quoted sources · How we score