IT SBIT Services
Schneeberger
DEEN
CVE tracker

pgEdge RAG Server: Partial disclosure of LLM provider API key in error responses

CVE-2026-125326Medium 5.8

← All vulnerabilities

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

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:

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.