Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach login endpoint on HTTP transport
-
ExploitSet spoofed or rotating X-Forwarded-For header
-
ImpactEvade throttle for brute force or lock out victim's address
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V2 - Validation and Business Logic Resource allocation limits
MITRE ATT&CK
1 technique across 1 tactic: Impact The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires a deployment running the NON-DEFAULT HTTP transport (off by default) with authentication enabled, AND a front-end reverse proxy that appends to X-Forwarded-For rather than overwriting it - which the product's own published nginx example did, so no operator misconfiguration is needed to reach the flaw. The attacker only needs to reach the login endpoint and set an arbitrary X-Forwarded-For value. Limiting factors: the HTTP transport must be explicitly enabled; if the server is reached directly (no proxy) or sits behind a proxy that overwrites X-Forwarded-For with the real client address, the caller-supplied value never survives to the server; and impact is capped at throttle evasion and per-address login denial because account lockout is a separate username-keyed control disabled by default (MaxFailedAttemptsBeforeLockout: 0). |
| Impact | The CVSS vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L, score 6.5) correctly reflects a network-reachable, unauthenticated, low-complexity weakness, but the real-world risk is strongly gated by preconditions the raw score does not surface: the vulnerable HTTP transport is OFF by default, must have authentication enabled, and the abuse path depends on a reverse proxy that appends rather than overwrites X-Forwarded-For. The vuln.today decision label is this_month (not act_now/emergency), consistent with a meaningful-but-not-urgent issue. No EPSS score, no CISA KEV listing, and no public exploit were supplied, so there is no signal of active or widespread exploitation; status is best described as no public exploit identified at time of analysis. The technical-impact picture is limited: the primary concrete impact is denial of login for a chosen victim (availability) plus defeating brute-force throttling, while full account lockout is a separate username-keyed control that is disabled by default (MaxFailedAttemptsBeforeLockout: 0), which is precisely why the vendor rated availability Low rather than High. Net: a genuine, verifiable security-control-bypass worth patching, but not a high-urgency emergency - a moderate-priority issue whose exposure is constrained to a specific, non-default deployment shape. |
| Exploit ScenarioDerived | An operator enables the non-default HTTP transport with authentication and fronts it with the documented nginx example, which appends to X-Forwarded-For. An unauthenticated attacker reaching the login endpoint sends a crafted X-Forwarded-For value on each request: rotating it defeats per-address login throttling so password guessing proceeds unthrottled, or asserting a victim's address and repeatedly failing the configured attempts refuses that victim's own requests for the window. No public working exploit is listed; the attack requires only the ability to set an HTTP header, consistent with AC:L and PR:N. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Login rate limiting in pgEdge Postgres MCP Server 1.0.0 and earlier - including all alpha and beta pre-releases - can be evaded or turned against another user by an unauthenticated caller reaching the login endpoint, because throttling is keyed on the leftmost caller-supplied X-Forwarded-For value rather than the network connection. Rotating the header on each attempt means the per-address limit is never reached, while asserting a victim's address consumes that user's limiter bucket and blocks their logins for the window; impact stays at availability only because account lockout is a separate username-keyed control that shipped disabled (MaxFailedAttemptsBeforeLockout: 0). Exposure requires the non-default HTTP transport to be enabled with authentication on, but the project's own published nginx example appended to X-Forwarded-For instead of replacing it, so no operator misconfiguration was needed. Vendor-released patch: 1.1.0; no public exploit identified at time of analysis.
RemediationAI
Upgrade to pgEdge Postgres MCP Server 1.1.0 or later, which resolves the client address from the network connection by default and only honours a forwarding header from peers listed in the new http.client_ip.trusted_proxies (details in GHSA-v347-v3w7-7fq9, PR 205 and issue 204). Because the fix changes address resolution, deployments behind a TLS terminator or reverse proxy must configure http.client_ip with source: header, the header name in use, and the proxy addresses or CIDR blocks - otherwise every client is grouped into a single limiter bucket - and the bundled nginx examples were corrected to set X-Forwarded-For to $remote_addr instead of $proxy_add_x_forwarded_for, so existing proxy configs should be updated to replace rather than append the header. Where upgrading is deferred, the documented workaround is to front the service with a proxy that overwrites X-Forwarded-For with the real client address so a caller-supplied value cannot reach the server; alternatively, setting MaxFailedAttemptsBeforeLockout to a non-zero value enables the username-keyed account lockout that header spoofing does not evade, though that adds a second limit rather than fixing this one and introduces its own lockout behaviour for legitimate users. Given the non-default HTTP transport precondition, the vendor-flagged priority is a routine monthly maintenance window rather than emergency action.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
pgEdge Postgres MCP Server is a Go service that lets Model Context Protocol clients issue SQL against PostgreSQL databases; the affected code path is the optional HTTP transport, not the default STDIO-style usage. The flaw combines CWE-770 (allocation of resources without limits or throttling) with CWE-807 (reliance on untrusted inputs in a security decision): ExtractIPAddress at internal/auth/middleware.go:99 read the leftmost X-Forwarded-For entry - the portion of the header a caller controls - and passed it to IsAllowed and RecordFailedAttempt at internal/auth/rate_limiter.go:53 and :75, both of which take an address with no username component as the limiter key. Because the shipped nginx examples used $proxy_add_x_forwarded_for (append) rather than $remote_addr (replace), the attacker-supplied entry survived to the server even in documented deployments. Version 1.1.0 introduces an auth.NewClientIPResolver that fails startup on an invalid client-IP configuration, a new http.client_ip block (source: socket or header, header, trusted_proxies), socket-based address resolution by default, right-to-left X-Forwarded-For parsing past trusted entries with all header instances treated as one list, discarding of unparseable candidate addresses so they cannot become limiter keys, and IPv6 normalization to stop bracketed and unbracketed forms counting as separate buckets. The documentation was corrected to set X-Forwarded-For to $remote_addr.
Know when Pgedge Postgres Mcp gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Remote, unauthenticated, header-only trigger gives AV:N/AC:L/PR:N/UI:N; the direct impact is denying a victim's login (A:L), and no data is disclosed or altered, so C:N/I:N.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.
More in Pgedge Postgres Mcp
View allSQL injection in pgEdge Postgres MCP Server 1.0.0 and earlier lets an authenticated, low-privilege caller who can invoke
Read-only mode in pgEdge Postgres MCP Server 1.0.0 and earlier can be bypassed through the query_database tool, allowing
Client-side write confirmation bypass in pgEdge Postgres MCP Server 1.0.0 and earlier: the bundled CLI and web clients d
SQL injection in the where parameter of the count_rows tool in pgEdge Postgres MCP Server 1.0.0 and earlier (including a
DNS rebinding exposure in pgEdge Postgres MCP Server 1.0.0 and earlier lets a web page the user is merely visiting drive
pgEdge Postgres MCP Server 1.0.0 and earlier ship bundled CLI and web clients that decide whether to ask the user for co
EUVD-2026-121396
NVD
CVE.org
EPSS
GitHub
Exploit-DB