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

Published Nov 10, 2026 CVSS 3.1 · 5.8 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability allows an unauthenticated caller to trigger a provider error in the query API; the API returns the raw error text that can include a partially masked API key, exposing part of the operator's third‑party provider credential. This leaks sensitive credential information and could aid an attacker in completing the key or gaining unauthorized access. The flaw is catalogued as CWE‑209 and CWE‑522.

Affected Systems

The issue affects the pgEdge RAG Server product (pgEdge:pgedge-rag-server) in all releases prior to version 2.0.0. Users running these earlier versions are at risk if the query API is exposed to unauthenticated traffic.

Risk and Exploitability

The CVSS score of 5.8 indicates moderate severity, and the EPSS score of less than 1 % suggests a low likelihood of automated exploitation at this time. The vulnerability is not listed in CISA's KEV catalog. Attackers can exploit the weakness by sending crafted queries to the unauthenticated API endpoint and observing the verbose error response, from which they can glean partial credential data.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade pgEdge RAG Server to version 2.0.0 or later, which removes the error‑message disclosure.
  • Restrict access to the query API so that only authenticated or whitelisted clients can invoke it, preventing unauthenticated attackers from triggering the vulnerability.
  • Configure the server or application to sanitize error messages before sending them back to clients, ensuring that sensitive credential fragments are never included in the response.

Generated by OpenCVE AI on November 15, 2026 at 03:02 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-68g8-gh8f-7rhg pgEdge RAG Server discloses part of the configured provider credential through API error messages
History
Type Values Removed Values Added
First Time appeared Pgedge
Pgedge pgedge-rag-server
Vendors & Products Pgedge
Pgedge pgedge-rag-server
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
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
Weaknesses CWE-209
CWE-522
References
Metrics cvssV3_1

{'score': 5.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N'}

Weaknesses
  • CWE-209

    Generation of Error Message Containing Sensitive Information

  • CWE-522

    Insufficiently Protected Credentials

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 10, 2026, 8:59 PM
Reserved
Nov 9, 2026, 9:22 PM
Status
Deferred
Published
Nov 10, 2026, 6:17 PM
Modified
Nov 12, 2026, 10:18 PM