CVE-2026-125328
Medium 5.8No known exploitationFix availablepgEdge Go LLM Library discloses provider API key fragments in error messages
Vendor advisory: GHSA-8835-xmqj-354h
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 22% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
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.
Weakness: CWE-209, CWE-522
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| go | github.com/pgEdge/pgedge-go-llm-lib | all versions before 0.1.2-0.20260729024727-7531a55d368b | 0.1.2-0.20260729024727-7531a55d368b | GitHub Advisory Database |
| pgEdge | pgedge-go-llm-lib | >= 0.1.0, < 0.2.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-8835-xmqj-354h (opens in a new tab)github-advisory
- https://github.com/pgEdge/pgedge-go-llm-lib/commit/7531a55d368b3a29cd173c792cc4609c4134b076 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-go-llm-lib/commit/8bb9a6380d5f8db0124b51605759897034ad4da1 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-go-llm-lib/pull/26 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-go-llm-lib/releases/tag/v0.2.0 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-go-llm-lib/security/advisories/GHSA-8835-xmqj-354h (opens in a new tab)x_refsource_confirm