Read the docs

pgEdge RAG Server leaks part of provider API key in error messages

Priority LOW 32CWE-209Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
Low · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-209.

Summary

pgEdge RAG Server before 2.0.0 returns raw error text from failed LLM provider calls through its unauthenticated query API. A remote attacker can trigger an authentication failure so that the response quotes part of the operator's partially masked provider API key (CWE-209, CWE-522). The attacker needs only network access and no privileges.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

Description from the CNA

pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the unauthenticated query API in internal/server/handlers.go returns err.Error() from failed LLM provider calls, preserving provider-controlled error text that can quote a partially masked submitted API key. A remote caller can cause an authentication failure and obtain part of the operator's credential for the third-party provider account through the query API error response. This issue is fixed in version 2.0.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00411 35th percentileScored 2026-11-16
Fix Fixed pgedge-rag-server (pgEdge): 2.0.0github.com/pgEdge/pgedge-rag-server (Go): 1.0.1-0.20260729022402-72e0785a6d7c

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
Yes
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
pgEdgepgedge-rag-serverbefore 2.0.02.0.0Patch availableCNA
—github.com/pgEdge/pgedge-rag-server (Go)before 1.0.1-0.20260729022402-72e0785a6d7c1.0.1-0.20260729022402-72e0785a6d7cPatch availableGHSA-68g8-gh8f-7rhg
  • pgedge-rag-server VendorpgEdge Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
  • github.com/pgEdge/pgedge-rag-server (Go) Vendor— Affected before 1.0.1-0.20260729022402-72e0785a6d7c Fixed in 1.0.1-0.20260729022402-72e0785a6d7c Patch available GHSA-68g8-gh8f-7rhg

Remediation

Upgrade pgEdge RAG Server to version 2.0.0. The Go module github.com/pgEdge/pgedge-rag-server is fixed in version 1.0.1-0.20260729022402-72e0785a6d7c.

Written with Claude Haiku 5.5 from the sources below · 2026-11-12

  • Fix · CNA pgedge-rag-server (pgEdge) Fixed in 2.0.0
  • Fix · GHSA-68g8-gh8f-7rhg github.com/pgEdge/pgedge-rag-server (Go) Fixed in 1.0.1-0.20260729022402-72e0785a6d7c Advisory →

Timeline

  1. 2026-11-10 Threatist record created from CVE-2026-125326
  2. 2026-11-10 CISA SSVC decision points changed
  3. 2026-11-10 Priority changed: MEDIUM → LOW
  4. 2026-11-12 Alias added: GHSA-68g8-gh8f-7rhg
  5. 2026-11-12 Fix available: Go/github.com/pgEdge/[email protected] · GHSA-68g8-gh8f-7rhg
  6. 2026-11-12 CVSS score added · GHSA-68g8-gh8f-7rhg
  7. 2026-11-12 Weakness changed · GHSA-68g8-gh8f-7rhg
  8. 2026-11-12 6 new references · GHSA-68g8-gh8f-7rhg

References

  • TI-2026-90432 SQL injection in pgEdge Postgres MCP Server via custom pl-do tools CVSS 3.1HIGH 8.8
  • TI-2026-88777 Unbounded corpus read in pgEdge RAG Server allows resource exhaustion CVSS 3.1HIGH 7.5
  • TI-2026-90431 Read-only bypass in pgEdge Postgres MCP Server allows database writes CVSS 3.1HIGH 8.1
  • TI-2026-87969 Trust rules in pgEdge Control Plane allow passwordless Postgres login CVSS 3.1HIGH 7.8
  • TI-2026-87900 Rate limiting bypass in pgEdge Postgres MCP Server via X-Forwarded-For header CVSS 3.1MEDIUM 6.5
  • TI-2026-88778 pgEdge Go LLM Library exposes provider API key fragments in error messages CVSS 3.1MEDIUM 5.8
See all 11 →

Sources