CVE-2026-125328: pgEdge Go LLM Library discloses provider API key fragments in error messages
Published 2026-11-12 · Updated 2026-11-23 · Also known as GHSA-8835-xmqj-354h, GO-2026-6969
Summary
The pgEdge Go LLM Library improperly includes partial LLM provider API key fragments in unauthenticated health endpoint error messages. Applications using versions 0.1.0 or 0.1.1 with the bundled HTTP proxy and no explicit authorization hook must upgrade and rotate credentials.
Who is affected
Unauthenticated callers can read parts of the operator's configured LLM provider API key if they can reach the GET /v1/health endpoint. This occurs because the library pings providers using real credentials and returns verbatim error messages containing masked key fragments. Because the disclosed material authenticates to third-party provider accounts, the security scope is changed.
Exploitability
The vulnerability is exploitable over the network without authentication and with low attack complexity, requiring no user interaction. It carries a CVSS base score of 5.8 (Medium) with low confidentiality impact and no integrity or availability impact. The EPSS score is 0.003 and CISA Known Exploited Vulnerabilities status is no.
Remediation
- Upgrade github.com/pgEdge/pgedge-go-llm-lib to version 0.2.0 or later.
- Rotate any LLM provider credentials that were configured on an affected version where the proxy was reachable without an Authorize hook.
- Set an Authorize hook on the proxy and restrict network access to the listening port as a defense-in-depth measure.
How to check your project
- Inspect Go module dependencies in go.sum and go.mod to check if github.com/pgEdge/pgedge-go-llm-lib versions 0.1.0 or 0.1.1 are present.
- Review application source code for the usage of pgedge-go-llm-lib proxy configurations to verify whether the unauthenticated default GET /v1/health endpoint is exposed.
Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| Go | github.com/pgEdge/pgedge-go-llm-lib |
>= 0, < 0.1.2-0.20260729024727-7531a55d368b | 0.1.2-0.20260729024727-7531a55d368b | go get github.com/pgEdge/[email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Changed |
| Confidentiality | Low |
| Integrity | None |
| Availability | None |
FAQ
Which versions of the pgEdge Go LLM Library are affected?
Versions 0.1.0 and 0.1.1 are affected by this vulnerability.
Is there a version 0.1.2 fix available?
No, version 0.1.2 was never cut. The first fixed release is version 0.2.0.
Does upgrading to version 0.2.0 secure previously exposed keys?
Upgrading does not undo a disclosure that already happened; operators must rotate any LLM provider credentials configured on an affected version where the proxy was reachable.
Original advisory description
References
- WEB https://github.com/pgEdge/pgedge-go-llm-lib/security/advisories/GHSA-8835-xmqj-354h
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-125328
- WEB https://github.com/pgEdge/pgedge-go-llm-lib/pull/26
- WEB https://github.com/pgEdge/pgedge-go-llm-lib/commit/7531a55d368b3a29cd173c792cc4609c4134b076
- WEB https://github.com/pgEdge/pgedge-go-llm-lib/commit/8bb9a6380d5f8db0124b51605759897034ad4da1
- PACKAGE https://github.com/pgEdge/pgedge-go-llm-lib
- WEB https://github.com/pgEdge/pgedge-go-llm-lib/releases/tag/v0.2.0
Source records: GHSA-8835-xmqj-354h, GO-2026-6969 (OSV.dev) · EPSS by FIRST, 2026-11-26.