{"id":"CVE-2026-125328","summary":"pgEdge Go LLM Library discloses provider API key fragments in error messages","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.","aliases":["GHSA-8835-xmqj-354h"],"modified":"2026-11-11T02:48:08.403276338Z","published":"2026-11-10T18:05:20.491Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-209","CWE-522"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125328.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125328.json"},{"type":"FIX","url":"https://github.com/pgEdge/pgedge-go-llm-lib/commit/7531a55d368b3a29cd173c792cc4609c4134b076"},{"type":"FIX","url":"https://github.com/pgEdge/pgedge-go-llm-lib/commit/8bb9a6380d5f8db0124b51605759897034ad4da1"},{"type":"FIX","url":"https://github.com/pgEdge/pgedge-go-llm-lib/pull/26"},{"type":"WEB","url":"https://github.com/pgEdge/pgedge-go-llm-lib/releases/tag/v0.2.0"},{"type":"ADVISORY","url":"https://github.com/pgEdge/pgedge-go-llm-lib/security/advisories/GHSA-8835-xmqj-354h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125328"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pgedge/pgedge-go-llm-lib","events":[{"introduced":"d60ef1beb808dd09b1a5f80000328b9eea4ece80"},{"fixed":"d794622ebb1ca321b1fefc886cc8b8ea51fdfa00"}],"database_specific":{"extracted_events":[{"strategy":"StringRangeExpression","range":[{"introduced":"0.1.0"},{"fixed":"0.2.0"}],"source":"AFFECTED_FIELD"}]}}],"versions":["v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125328.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N"}]}