# CVE-2026-125326: pgEdge 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

- Severity: Medium 5.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.41%, higher than 37% of CVEs (2026-12-01)
- Published: 2026-11-10T18:01:18.698Z
- Modified: 2026-11-23T20:40:42.828Z
- Also known as: GHSA-68g8-gh8f-7rhg, GO-2026-6972
- Weaknesses: CWE-209, CWE-522
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- pgEdge pgedge-rag-server: < 2.0.0
- github.com/pgEdge/pgedge-rag-server (Go): before 1.0.1-0.20260729022402-72e0785a6d7c

## Every score

- GitHub_M: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`
- GitHub: CVSS:3.1 5.8 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N`

## References

- <https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg> (advisory, web)
- <https://github.com/pgEdge/pgedge-rag-server/pull/45> (fix, web)
- <https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61> (fix, web)
- <https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125326> (advisory)
- <https://github.com/pgEdge/pgedge-rag-server> (package)

## Sources

- CVE List: [CVE-2026-125326](https://www.cve.org/CVERecord?id=CVE-2026-125326), CVE Terms of Use, modified 2026-11-10
- GitHub Advisory Database: [GHSA-68g8-gh8f-7rhg](https://github.com/advisories/GHSA-68g8-gh8f-7rhg), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6972](https://pkg.go.dev/vuln/GO-2026-6972), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-125326](https://nvd.nist.gov/vuln/detail/CVE-2026-125326), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125326 · Whole record: https://cve.day/CVE-2026-125326.json · Rebuilt by cve.day 2026-11-25T22:59:49.814Z
