pgEdge Go LLM Library exposes provider API key fragments 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
The pgEdge Go LLM Library from 0.1.0 before 0.2.0 has a sensitive information exposure in its health endpoint. The GET /v1/health handler pings LLM providers with the operator's real credentials and returns their error text, and the Authorize hook permits access by default when the application does not configure it. A remote caller who can reach the proxy can obtain part of the operator's third-party provider API key from the error when a provider rejects the credential (CWE-209).
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
pgEdge Go LLM Library provides a unified Go interface for multiple LLM providers with streaming, tool calling, retries, and an HTTP and server-sent events proxy. From 0.1.0 until 0.2.0, GET /v1/health in llm/proxy/handlers.go uses handleHealth to ping providers with the operator's real credentials and returns their error text, while the Authorize hook in llm/proxy/proxy.go permits access by default when the consuming application does not configure it. When a provider rejects the configured credential, a remote caller who can reach the proxy can obtain part of the operator's third-party provider API key from the resulting error. This issue is fixed in version 0.2.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-go-llm-lib | 0.1.0 to before 0.2.0 | 0.2.0 | Patch available | CNA |
| — | github.com/pgEdge/pgedge-go-llm-lib (Go) | before 0.1.2-0.20260729024727-7531a55d368b | 0.1.2-0.20260729024727-7531a55d368b | Patch available | GHSA-8835-xmqj-354h |
- pgedge-go-llm-lib VendorpgEdge Affected 0.1.0 to before 0.2.0 Fixed in 0.2.0 Patch available CNA
- github.com/pgEdge/pgedge-go-llm-lib (Go) Vendor— Affected before 0.1.2-0.20260729024727-7531a55d368b Fixed in 0.1.2-0.20260729024727-7531a55d368b Patch available GHSA-8835-xmqj-354h
Remediation
Upgrade pgedge-go-llm-lib to version 0.2.0. For the Go module github.com/pgEdge/pgedge-go-llm-lib, upgrade to 0.1.2-0.20260729024727-7531a55d368b.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA pgedge-go-llm-lib (pgEdge) Fixed in 0.2.0
- Fix · GHSA-8835-xmqj-354h github.com/pgEdge/pgedge-go-llm-lib (Go) Fixed in 0.1.2-0.20260729024727-7531a55d368b Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-125328
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-12 Alias added: GHSA-8835-xmqj-354h
- 2026-11-12 Fix available: Go/github.com/pgEdge/[email protected] · GHSA-8835-xmqj-354h
- 2026-11-12 CVSS score added · GHSA-8835-xmqj-354h
- 2026-11-12 Weakness changed · GHSA-8835-xmqj-354h
- 2026-11-12 7 new references · GHSA-8835-xmqj-354h
- 2026-11-13 CISA SSVC decision points changed
References
Other 6
- https://github.com/pgEdge/pgedge-go-llm-lib/security/advisories/GHSA-8835-xmqj-354h
- https://github.com/pgEdge/pgedge-go-llm-lib/pull/26
- https://github.com/pgEdge/pgedge-go-llm-lib/commit/7531a55d368b3a29cd173c792cc4609c4134b076
- https://github.com/pgEdge/pgedge-go-llm-lib/commit/8bb9a6380d5f8db0124b51605759897034ad4da1
- https://github.com/pgEdge/pgedge-go-llm-lib/releases/tag/v0.2.0
- https://github.com/pgEdge/pgedge-go-llm-lib
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-87972 pgEdge RAG Server leaks part of provider API key in error messages CVSS 3.1MEDIUM 5.8
Sources
- CVE-2026-125328 · CVE Program
- CVE-2026-125328 · NVD
- FIRST EPSS
- GHSA-8835-xmqj-354h · 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