Shellfeed logo Shellfeed

CVE-2026-125328 · MEDIUM (CVSS 5.8)

Summary: pgEdge Go LLM Library discloses provider API key fragments in error messages

EPSS: 0.3% probability of exploitation in the next 30 days (percentile 21.9).

Details

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.

Severity

MEDIUM (CVSS 5.8) — vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N

Affected packages

  • Go github.com/pgEdge/pgedge-go-llm-lib [0 – 0.1.2-0.20260729024727-7531a55d368b]
  • GIT github.com/pgedge/pgedge-go-llm-lib [d60ef1beb808dd09b1a5f80000328b9eea4ece80 – d794622ebb1ca321b1fefc886cc8b8ea51fdfa00]

References

Posts about CVE-2026-125328