CVE-2026-125321: falha de média gravidade em pgedge-postgres-mcp
pgEdge Postgres MCP Server login rate limiting can be evaded by a caller-supplied header
Publicada em
Aviso por e-mail quando ela entrar no KEV, ganhar PoC pública ou subir de nota.
13Vexday Risk Score
Sem sinal de exploração. Nenhum artefato público de exploração conhecido até agora.
ssvc Trackcvss 6.5epss 0.5%
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.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Produtos afetados
pgEdge · pgedge-postgres-mcpCVEs relacionadas — pgedge-postgres-mcp
No mesmo produto, das mais perigosas para as menos.
CVE-2026-126196HIGHpgEdge Postgres MCP Server read-only mode can be bypassed by SQL statement smuggling through query_databaseEPSS 0.4%CVE-2026-126197HIGHpgEdge Postgres MCP Server SQL injection through custom pl-do tool parametersEPSS 0.4%CVE-2026-125322MEDIUMpgEdge Postgres MCP Server SQL injection in the count_rows where parameterEPSS 0.3%CVE-2026-126198LOWpgEdge Postgres MCP Server custom tools performed writes without user confirmationEPSS 0.3%CVE-2026-126199MEDIUMpgEdge Postgres MCP Server write confirmation skipped for writes that begin with a reading keywordEPSS 0.2%CVE-2026-125320MEDIUMpgEdge Postgres MCP Server did not validate the Origin header, allowing DNS rebindingEPSS 0.1%