{"id":"EUVD-2026-121708","revision":null,"records":[{"revision":"4d6aa7616ede454e88a9da1e40146c1a","observedAt":"2026-11-10T22:21:22.279+00:00","statement":{"source":"cve-program","id":"CVE-2026-125326","aliases":[],"title":"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","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.","state":0,"publishedAt":"2026-11-10T18:01:18.698+00:00","modifiedAt":"2026-11-10T20:59:21.803+00:00","affected":[{"ecosystem":"Vendor product","name":"pgedge-rag-server","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"pgEdge\",\n                    \"product\": \"pgedge-rag-server\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 2.0.0\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":5.8,"severity":"MEDIUM"}],"references":["https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg","https://github.com/pgEdge/pgedge-rag-server/pull/45","https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61","https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-125326","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-125326","identifiers":["CVE-2026-125326"]},"retained":false,"historicalAffected":[]},{"revision":"a46e34733d734dc99d781c39dafd72f7","observedAt":"2026-11-16T22:28:55.869+00:00","statement":{"source":"euvd","id":"EUVD-2026-121708","aliases":["CVE-2026-125326","GHSA-68g8-gh8f-7rhg"],"title":"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, p…","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":5.8,"severity":null}],"references":["https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg","https://github.com/pgEdge/pgedge-rag-server/pull/45","https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61","https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-121708","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Nov 10, 2026, 6:01:18 PM","dateUpdated":"Nov 10, 2026, 8:59:21 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-121708","identifiers":["EUVD-2026-121708","CVE-2026-125326","GHSA-68g8-gh8f-7rhg"]},"retained":false,"historicalAffected":[]},{"revision":"fce9783757f14571a31ad538978c3a62","observedAt":"2026-11-14T21:27:30.35+00:00","statement":{"source":"nvd","id":"CVE-2026-125326","aliases":[],"title":"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, p…","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.","state":0,"publishedAt":"2026-11-10T18:17:34.01+00:00","modifiedAt":"2026-11-12T22:18:51.47+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":5.8,"severity":"MEDIUM"}],"references":["https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61","https://github.com/pgEdge/pgedge-rag-server/pull/45","https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0","https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-125326","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-209","CWE-522"],"productCriteria":[],"sourceDates":{"published":"2026-11-10T18:17:34.010","lastModified":"2026-11-12T22:18:51.470"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-125326","identifiers":["CVE-2026-125326"]},"retained":false,"historicalAffected":[]},{"revision":"ad43c53b6ee84423abd0e6a22f8cb309","observedAt":"2026-11-12T21:16:26.502+00:00","statement":{"source":"osv","id":"GHSA-68g8-gh8f-7rhg","aliases":["CVE-2026-125326"],"title":"pgEdge RAG Server discloses part of the configured provider credential through API error messages","description":"### Impact\n\nAn unauthenticated remote caller could read part of the operator's configured LLM provider API key.\n\nThe query API relayed the text of a provider error straight to the caller. That text carried the upstream provider's own message, and providers characteristically quote a partially masked form of the credential they rejected when authentication fails — so a failing provider call published a fragment of the operator's key. A caller who can reach the endpoint can cause such a failure and read the result.\n\n**Who is affected:** any deployment of pgEdge RAG Server at `1.0.0` or earlier, including all alpha and beta pre-releases, whose query endpoint was reachable by an untrusted party. The endpoint carries no authentication in the affected versions.\n\nThe disclosed material authenticates to a **third-party provider account** rather than to pgEdge software, which is why the severity carries Scope: Changed.\n\n`v1.0.0:internal/server/handlers.go:121` relayed `err.Error()` to the client when pipeline execution failed. `parseError` in\n`v1.0.0:internal/llm/openai/client.go` produced that error by two routes, and both disclose:\n\n```go\nvar errResp ErrorResponse\nif err := json.Unmarshal(body, &errResp); err != nil {\n    return fmt.Errorf(\"API error (status %d): %s\", resp.StatusCode, string(body))\n}\nreturn fmt.Errorf(\"API error (status %d): %s\", resp.StatusCode, errResp.Error.Message)\n```\n\nThe first branch interpolates the entire unparsed response body. The second returns the provider's own message, which for OpenAI quotes the `sk-proj-` prefix and the final four characters of the submitted key.\n\n### Patches\n\n**Fixed in `2.0.0`. Upgrade to `2.0.0` or later.**\n\nThe fix adds `internal/safeerr` and stops provider error text reaching API clients.\n\n**Upgrading does not undo the disclosure, and this needs action beyond upgrading. Rotate any LLM provider credential that was configured on an affected version while the endpoint was reachable by an untrusted caller**, particularly if that provider was rejecting the key at the time. A fragment already disclosed stays disclosed.\n\n### Workarounds\n\nPlace the server behind a proxy that rewrites 5xx response bodies, or terminate provider errors before they reach the API surface. Keeping provider credentials valid, so that no authentication failure is produced, also avoids the disclosure in practice.\n\nNone of these removes the underlying defect, and none is a substitute for upgrading.","state":0,"publishedAt":"2026-11-12T20:29:32+00:00","modifiedAt":"2026-11-12T20:45:03.4990084+00:00","affected":[{"ecosystem":"Go","name":"github.com/pgEdge/pgedge-rag-server","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"1.0.1-0.20260729022402-72e0785a6d7c"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"MODERATE"}],"references":["https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-68g8-gh8f-7rhg","https://nvd.nist.gov/vuln/detail/CVE-2026-125326","https://github.com/pgEdge/pgedge-rag-server/pull/45","https://github.com/pgEdge/pgedge-rag-server/commit/72e0785a6d7cc9e35ad67d570bc9fddeaa4b2f61","https://github.com/pgEdge/pgedge-rag-server","https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0"],"sourceUrl":"https://github.com/advisories/GHSA-68g8-gh8f-7rhg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-68g8-gh8f-7rhg","identifiers":["GHSA-68g8-gh8f-7rhg","CVE-2026-125326"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-17T10:25:58.7025784+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-17T10:25:58.7025784+00:00","lastSuccessAt":"2026-11-17T10:25:58.8789873+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.8789881+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-30c3da459c38698a15d626d89e52e03e55e19fc45dae0e6d8d723cbf35472cf4-3e82f484b940894a7e1b121e5cc8a89ddf4443cd9e37ff49c6a9f316d3db286e","complete":true,"records":426288,"lastAttemptAt":"2026-11-17T10:25:58.3760578+00:00","lastSuccessAt":"2026-11-17T09:26:05.458432+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.3760578+00:00","snapshotPublishedAt":"2026-11-17T09:22:07+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2874639663ce41dd98b150c60376fdcb","complete":false,"records":13836,"lastAttemptAt":"2026-11-17T10:36:07.3233463+00:00","lastSuccessAt":"2026-11-17T10:36:06.297+00:00","error":"250 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-17T10:36:06.297+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13247,"expectedIdentifiers":13886,"failedIdentifiers":250},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-17T10:25:58.7025784+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-17T10:25:58.7025784+00:00","lastSuccessAt":"2026-11-17T10:25:58.8802911+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.8802914+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-2f9bc7762def49e9863ad38bc53dd81a","complete":true,"records":13849,"lastAttemptAt":"2026-11-17T10:26:00.9081054+00:00","lastSuccessAt":"2026-11-17T10:26:00.903+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:26:00.903+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13886,"expectedIdentifiers":13886,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-66941ff4149395c0d1a7082fb2226c4cd21c13f3179212d5083b3970d0d2aa5f","complete":true,"records":9958,"lastAttemptAt":"2026-11-17T10:25:58.6363869+00:00","lastSuccessAt":"2026-11-17T07:28:38.090533+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.6363869+00:00","snapshotPublishedAt":"2026-11-17T07:18:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-17T10:25:58.4236571+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.4236571+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-6086d649bcb454cdf302d7d9275177bda73550e1b6e446b3520e9b6266d3582c","complete":true,"records":3148,"lastAttemptAt":"2026-11-17T10:25:58.6543+00:00","lastSuccessAt":"2026-11-15T11:05:17.1034234+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.6543+00:00","snapshotPublishedAt":"2026-11-15T10:03:04+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-77c4624a706e18f1c3e85a3271102a8f9fcd5f1cde77af5eb680694c6290ab41","complete":true,"records":232593,"lastAttemptAt":"2026-11-17T10:25:58.5298487+00:00","lastSuccessAt":"2026-11-17T08:28:54.9120935+00:00","error":null,"lastVerifiedAt":"2026-11-17T10:25:58.5298487+00:00","snapshotPublishedAt":"2026-11-17T07:33:44+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}