CVE-2026-125326
Medium 5.8No known exploitationFix availablepgEdge RAG Server discloses part of the configured provider credential through API error messagespgEdge RAG Server discloses part of the configured provider credential through API error messages
Vendor advisory: GHSA-68g8-gh8f-7rhg
Record last updated
CVSS score
Medium on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 36% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
Description
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the unauthenticated query API in internal/server/handlers.go returns err.Error() from failed LLM provider calls, preserving provider-controlled error text that can quote a partially masked submitted API key. A remote caller can cause an authentication failure and obtain part of the operator's credential for the third-party provider account through the query API error response. This issue is fixed in version 2.0.0.
Weakness: CWE-209, CWE-522
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| go | github.com/pgEdge/pgedge-rag-server | all versions before 1.0.1-0.20260729022402-72e0785a6d7c | 1.0.1-0.20260729022402-72e0785a6d7c | GitHub Advisory Database |
| pgEdge | pgedge-rag-server | < 2.0.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-68g8-gh8f-7rhg (opens in a new tab)github-advisory
- https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/pull/45 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg (opens in a new tab)x_refsource_confirm