Read the docs

pgEdge Go LLM Library exposes provider API key fragments 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

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00291 21st percentileScored 2026-11-16
Fix Fixed pgedge-go-llm-lib (pgEdge): 0.2.0github.com/pgEdge/pgedge-go-llm-lib (Go): 0.1.2-0.20260729024727-7531a55d368b

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-go-llm-lib0.1.0 to before 0.2.00.2.0Patch availableCNA
—github.com/pgEdge/pgedge-go-llm-lib (Go)before 0.1.2-0.20260729024727-7531a55d368b0.1.2-0.20260729024727-7531a55d368bPatch availableGHSA-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

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

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-87972 pgEdge RAG Server leaks part of provider API key in error messages CVSS 3.1MEDIUM 5.8
See all 11 →

Sources