pgEdge RAG Server leaks part of provider API key in error messages
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
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
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pgEdge | pgedge-rag-server | before 2.0.0 | 2.0.0 | Patch available | CNA |
| — | github.com/pgEdge/pgedge-rag-server (Go) | before 1.0.1-0.20260729022402-72e0785a6d7c | 1.0.1-0.20260729022402-72e0785a6d7c | Patch available | GHSA-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
- 2026-11-10 Threatist record created from CVE-2026-125326
- 2026-11-10 CISA SSVC decision points changed
- 2026-11-10 Priority changed: MEDIUM → LOW
- 2026-11-12 Alias added: GHSA-68g8-gh8f-7rhg
- 2026-11-12 Fix available: Go/github.com/pgEdge/[email protected] · GHSA-68g8-gh8f-7rhg
- 2026-11-12 CVSS score added · GHSA-68g8-gh8f-7rhg
- 2026-11-12 Weakness changed · GHSA-68g8-gh8f-7rhg
- 2026-11-12 6 new references · GHSA-68g8-gh8f-7rhg
References
Other 5
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg
- https://github.com/pgEdge/pgedge-rag-server/pull/45
- https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
- https://github.com/pgEdge/pgedge-rag-server
More pgEdge vulnerabilities
- 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
Sources
- CVE-2026-125326 · CVE Program
- CVE-2026-125326 · NVD
- FIRST EPSS
- GHSA-68g8-gh8f-7rhg · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences