{"id":"CVE-2026-125326","summary":"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","details":"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.","aliases":["GHSA-68g8-gh8f-7rhg"],"modified":"2026-11-11T02:48:07.230405427Z","published":"2026-11-10T18:01:18.698Z","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-125326.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/125xxx/CVE-2026-125326.json"},{"type":"FIX","url":"https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61"},{"type":"FIX","url":"https://github.com/pgEdge/pgedge-rag-server/pull/45"},{"type":"WEB","url":"https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0"},{"type":"ADVISORY","url":"https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-125326"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/pgedge/pgedge-rag-server","events":[{"introduced":"0"},{"fixed":"10bbc084e025c6a45fef05f25a11d08fc39d2785"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.0.0"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"}]}}],"versions":["v2.0.0-rc1","v2.0.0-beta1","v1.0.0","v1.0.0-beta3-test","v1.0.0-beta3","v1.0.0-beta2","v1.0.0-beta1","v1.0.0-alpha5","v1.0.0-alpha4","v1.0.0-alpha3","v1.0.0-alpha2","v1.0.0-alpha1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-125326.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"}]}