CVE-2026-125326: pgEdge RAG Server discloses part of the configured provider credential through API error messages
Published 2026-11-12 · Updated 2026-11-23 · Also known as GHSA-68g8-gh8f-7rhg, GO-2026-6972
Summary
The pgEdge RAG Server exposes a fragment of the configured LLM provider API credential in API error messages when authentication fails. Users of pgEdge RAG Server versions 1.0.0 and earlier should rotate their provider credentials immediately.
Who is affected
Any deployment of pgEdge RAG Server v1.0.0 or earlier, including all alpha and beta pre-releases, with a query endpoint accessible by untrusted parties is affected. The vulnerability specifically targets credentials configured for external LLM providers like OpenAI. The disclosure occurs because the server relays provider error messages directly to callers, which characteristically include a partially masked form of the rejected API key. Since the endpoint carries no authentication in affected versions, any remote unauthenticated caller can trigger this error condition.
Exploitability
The CVSS vector rates this vulnerability as MEDIUM (5.8) with Network attack capability (AV:N), low attack complexity (AC:L), no required privileges (PR:N), and no user interaction (UI:N), indicating straightforward exploitation from remote unauthenticated attackers. The EPSS probability of exploitation is low at 0.4% (percentile 0.361), suggesting limited active exploitation in the wild. CISA has not designated this as a Known Exploited Vulnerability (KEV status: no).
Remediation
- Upgrade pgEdge RAG Server to version 2.0.0 or later (fixed in 1.0.1-0.20260729022402-72e0785a6d7c)
How to check your project
- Check go.mod or go.sum files for github.com/pgEdge/pgedge-rag-server with versions less than 1.0.1-0.20260729022402-72e0785a6d7c by running `go list -m github.com/pgEdge/pgedge-rag-server`
- Examine vendor directories or dependency trees for pgEdge RAG Server modules in affected versions
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-rag-server |
>= 0, < 1.0.1-0.20260729022402-72e0785a6d7c | 1.0.1-0.20260729022402-72e0785a6d7c | 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 |
Original advisory description
References
- WEB https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-125326
- WEB https://github.com/pgEdge/pgedge-rag-server/pull/45
- WEB https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61
- PACKAGE https://github.com/pgEdge/pgedge-rag-server
- WEB https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
Source records: GHSA-68g8-gh8f-7rhg, GO-2026-6972 (OSV.dev) · EPSS by FIRST, 2026-11-26.