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

- **Severity:** MEDIUM 5.8
- **CVSS:** 5.8 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: Low; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.40% (percentile 26, 2026-11-28)
- **CWE:** CWE-209, CWE-522
- **Aliases:** GHSA-8835-xmqj-354h, GO-2026-6969
- **Published:** 2026-11-10T18:05:20.491Z
- **Modified:** 2026-11-23T20:30:13.557Z

## Who should check

- Projects that depend on Go package github.com/pgEdge/pgedge-go-llm-lib (\< 0.1.2-0.20260729024727-7531a55d368b)
- Anyone running pgedge-go-llm-lib \>= 0.1.0, \< 0.2.0

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

## Affected and fixed versions

- Go `github.com/pgEdge/pgedge-go-llm-lib`: affected \< 0.1.2-0.20260729024727-7531a55d368b; fixed 0.1.2-0.20260729024727-7531a55d368b (ghsa)
- pgedge-go-llm-lib: \>= 0.1.0, \< 0.2.0 (cvelist)

## Technologies

Go modules

## Mitigation

- Upgrade github.com/pgEdge/pgedge-go-llm-lib to 0.1.2-0.20260729024727-7531a55d368b or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-125328. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-125328.md
Affected: github.com/pgEdge/pgedge-go-llm-lib < 0.1.2-0.20260729024727-7531a55d368b
Fixed in: 0.1.2-0.20260729024727-7531a55d368b

Steps:
1. Search this machine and project for github.com/pgEdge/pgedge-go-llm-lib (Go), pgedge-go-llm-lib: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-125328 being exploited?

There is no confirmed exploitation: CVE-2026-125328 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.40% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-125328?

Medium: CVSS 5.8 (v3.1, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2026-125328?

github.com/pgEdge/pgedge-go-llm-lib \< 0.1.2-0.20260729024727-7531a55d368b.

### Is there a fix for CVE-2026-125328?

Yes. Fixed in 0.1.2-0.20260729024727-7531a55d368b. Upgrade github.com/pgEdge/pgedge-go-llm-lib to 0.1.2-0.20260729024727-7531a55d368b or later.

### How do I check if I'm affected by CVE-2026-125328?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

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

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-125328>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-8835-xmqj-354h> (license: <https://creativecommons.org/licenses/by/4.0/>)
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GO-2026-6969> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-125328> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-125328>
