CVE-2026-125321

Source
https://cve.org/CVERecord?id=CVE-2026-125321
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125321.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-125321
Aliases
  • GHSA-v347-v3w7-7fq9
Published
2026-11-10T17:36:23Z
Modified
2026-11-11T02:49:08Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L CVSS Calculator
Summary
pgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied header
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-770",
        "CWE-807"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125321.json"
}
References

Affected packages

Git / github.com/pgedge/pgedge-postgres-mcp

Affected ranges

Type
GIT
Repo
https://github.com/pgedge/pgedge-postgres-mcp
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "0"
                },
                {
                    "fixed": "1.1.0"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StringRangeExpression"
        }
    ]
}

Affected versions

Other
kb-2026-04-22
kb-2026-04-27
v1.*
v1.0.0
v1.0.0-alpha1
v1.0.0-alpha2
v1.0.0-alpha3
v1.0.0-alpha4
v1.0.0-alpha5
v1.0.0-alpha6
v1.0.0-beta1
v1.0.0-beta3
v1.0.0-beta3a
v1.1.0-beta1
v1.1.0-beta2
v1.1.0-beta3

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125321.json"