Skip to main content

pgEdge Postgres MCP Server CVE-2026-125321

| EUVDEUVD-2026-121396 MEDIUM
Allocation of Resources Without Limits or Throttling (CWE-770)
2026-11-10 GitHub_M
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach login endpoint on HTTP transport
  2. Exploit
    Set spoofed or rotating X-Forwarded-For header
  3. Impact
    Evade 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

pgedge-postgres-mcp < 1.1.0

Affected Packages

euvd pgedge_postgres_mcp fix: 1.1.0

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
Low

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 18:03 EUVD

DescriptionCVE.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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche, recent pgEdge Postgres MCP server; limited production footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact· derived
Medium

Priority Score

32
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Denial of Service attacks render applications or systems unavailable by overwhelming resources or triggering failure conditions.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy