# CVE-2026-125328: pgEdge Go LLM Library discloses provider API key fragments in error messages

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Published: 2026-11-10T18:05:20.491Z
- Modified: 2026-11-23T20:41:34.607Z
- Also known as: GHSA-8835-xmqj-354h, GO-2026-6969
- Weaknesses: CWE-209, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- pgEdge pgedge-go-llm-lib: >= 0.1.0, < 0.2.0
- github.com/pgEdge/pgedge-go-llm-lib (Go): before 0.1.2-0.20260729024727-7531a55d368b

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/pgEdge/pgedge-go-llm-lib/security/advisories/GHSA-8835-xmqj-354h> (advisory, web)
- <https://github.com/pgEdge/pgedge-go-llm-lib/pull/26> (fix, web)
- <https://github.com/pgEdge/pgedge-go-llm-lib/commit/7531a55d368b3a29cd173c792cc4609c4134b076> (fix, web)
- <https://github.com/pgEdge/pgedge-go-llm-lib/commit/8bb9a6380d5f8db0124b51605759897034ad4da1> (fix, web)
- <https://github.com/pgEdge/pgedge-go-llm-lib/releases/tag/v0.2.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125328> (advisory)
- <https://github.com/pgEdge/pgedge-go-llm-lib> (package)

## Sources

- CVE List: [CVE-2026-125328](https://www.cve.org/CVERecord?id=CVE-2026-125328), CVE Terms of Use, modified 2026-11-13
- GitHub Advisory Database: [GHSA-8835-xmqj-354h](https://github.com/advisories/GHSA-8835-xmqj-354h), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6969](https://pkg.go.dev/vuln/GO-2026-6969), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-125328](https://nvd.nist.gov/vuln/detail/CVE-2026-125328), Public domain, modified 2026-11-13

---

Page: https://cve.day/CVE-2026-125328 · Whole record: https://cve.day/CVE-2026-125328.json · Rebuilt by cve.day 2026-11-25T22:59:50.086Z
