pgEdge RAG Server: Partial disclosure of LLM provider API key in error responses
Summary
pgEdge RAG Server before 2.0.0 passes upstream LLM provider error text to API clients. When a provider rejects the configured key, that error text can contain a partially masked copy of the key. An unauthenticated remote attacker who can reach the query API or the health endpoint can trigger this and obtain part of the operator's third-party provider credential. Version 2.0.0 no longer relays provider error text to clients.
Affected
- pgEdge RAG Server (pgedge-rag-server) versions before 2.0.0
Fixed in
- Version 2.0.0 (per CVE record, vendor release and fix commit).
- Third-party data mentions 2.0.8 as the fixed version. This is unverified; check the GHSA advisory for the current fixed version.
Workaround
- No vendor workaround known.
- Until patched, restrict access to the API to trusted networks.
Exploitation
- Not known to be exploited in the wild (OffSeq).
- Not listed in KEV (Strix).
- No public proof of concept found.
Our recommendation
- Inventory all pgedge-rag-server instances and their versions.
- Upgrade to 2.0.0 or later, after confirming the target version in the GHSA advisory.
- Restrict the API and health endpoint to trusted networks until patched.
- If an affected version was reachable by untrusted callers, rotate the LLM provider keys and review provider-side usage logs.
- Note that CVE-2026-125325 and CVE-2026-125327 are fixed in the same release.
Public exploits
PoC-in-GitHub, Metasploit and Exploit-DB list nothing for this CVE.
Research sources
- GitHub Security Advisory GHSA-68g8-gh8f-7rhg github.com
- Fix commit 72e0785 github.com
- Pull request #45 github.com
- Release v2.0.0 github.com
- Strix CVE-2026-125326 www.strix.ai
- OffSeq CVE-2026-125326 radar.offseq.com
- pgEdge docs PR #193 (downstream upgrade) github.com
Researched and written up in English and German by an AI (Claude by Anthropic) based on NVD, CISA, EPSS and the sources listed. The vendor information is authoritative. Researched on 11 Nov 2026, 15:40.
Original description (NVD)
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.
NVD references (4)
Sources
The tracker combines official, freely usable data sources – updated continuously:
- NVD (NIST) – CVEs, rating (CVSS), affected products
- CISA KEV – vulnerabilities confirmed by CISA as actively exploited
- CISA Vulnrichment – CISA assessment (SSVC) in the official CVE record
- FIRST EPSS – probability of exploitation
- Microsoft MSRC – Patch Tuesday: vulnerabilities, severity, updates
- PoC-in-GitHub – public proof-of-concept repositories
- Metasploit (Rapid7) – modules of the Metasploit Framework
- Exploit-DB (OffSec) – archive of public exploits (links only)
- Patch days: official vendor pages (linked per vendor) (Vendor patch days)
This product uses data from the NVD API but is not endorsed or certified by the NVD. EPSS data © FIRST.org.
Affected? We can help.
We check whether your systems are affected, install updates and close the gap – continuously with the System Health Checker if you wish.
