CVE-2026-125321
Last modified
CVE-2026-125321 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| pgEdge | pgedge-postgres-mcp | < 1.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-125321?
How severe is CVE-2026-125321?
How do I fix CVE-2026-125321?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-12529A security vulnerability has been detected in SourceCodester…7.3
- CVE-2026-125297AsiaInfo Business Support System (BSS) 9.2.0 through 9.2.40 …9.8
- CVE-2026-125298AsiaInfo Business Support System (BSS) 9.2.0 through 9.2.40 …9.8
- CVE-2026-1253The Group Chat & Video Chat by AtomChat plugin for WordPress…4.3
- CVE-2026-12530Improper neutralization of argument delimiters in the instal…7.3
- CVE-2026-125320pgEdge Postgres MCP Server enables SQL queries against Postg…5.3
- CVE-2026-125322pgEdge Postgres MCP Server enables SQL queries against Postg…6.5
- CVE-2026-125323pgEdge Control Plane is a distributed application for managi…7.8
- CVE-2026-125325pgEdge RAG Server is an API server for retrieval-augmented g…5.9
- CVE-2026-125326pgEdge RAG Server is an API server for retrieval-augmented g…5.8
- CVE-2026-125327pgEdge RAG Server is an API server for retrieval-augmented g…7.5
- CVE-2026-125328pgEdge Go LLM Library provides a unified Go interface for mu…5.8
Are you affected by CVE-2026-125321?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
