Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated query/health endpoint
-
ExploitTrigger or observe provider auth failure
-
ImpactRead masked provider-key fragment from error response
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK
1 technique across 1 tactic: Discovery The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires an affected pgEdge RAG Server (1.0.0 or earlier, including all alpha/beta pre-releases) whose unauthenticated query API or GET /v1/health endpoint is reachable by an untrusted caller - these endpoints carry no authentication in affected versions. The specific disclosure of a credential fragment additionally requires the upstream LLM provider to be returning an authentication-failure error that echoes a masked form of the submitted key (for OpenAI, the sk-proj- prefix and final four characters); the vendor confirms that while credentials remain valid and no authentication failure is produced, the key fragment is not disclosed, so a currently-rejected or invalid provider credential is the practical trigger. Limiting factors: the leak reveals only a partial, masked key fragment (not the full secret), and it depends on provider error behavior and on the provider being in a credential-rejecting state. |
| Impact | This is a genuine but moderate-priority information-disclosure issue, and the signals are internally consistent rather than conflicting. The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N, base 5.8) correctly reflects a remote, unauthenticated, low-confidentiality leak whose Scope is Changed because the disclosed material authenticates to a third-party LLM provider account, not to pgEdge itself. No EPSS score, no CISA KEV entry, and no SSVC automatable/technical-impact fields were supplied in the input, so those discriminators cannot be weighed; the only priority signal provided is the vuln.today 'this_month' decision label, which matches a real-but-not-emergency issue. There is no public exploit identified at time of analysis - the four references are the GHSA advisory, the fixing PR #45, the fix commit, and the v2.0.0 release, none of which is weaponized exploit code. The one point worth flagging for a reader: the AC:L rating understates a real precondition - the key fragment is only echoed when the upstream provider is actively rejecting the credential (the vendor's own workaround notes that keeping credentials valid avoids the disclosure), so successful extraction of the credential fragment depends on a provider state the attacker does not fully control. Net: treat as a credential-hygiene and exposure-reduction task, not a drop-everything event, but note that the impact (a leaked third-party key fragment that stays disclosed) warrants credential rotation, which upgrading alone does not remedy. |
| Exploit ScenarioDerived | An attacker who can reach an internet-exposed, unauthenticated pgEdge RAG Server (<= 1.0.0) sends requests to the query API (or a single GET to the unauthenticated /v1/health endpoint) while the configured LLM provider is rejecting the operator's API key; the handler relays the provider's raw error text verbatim, which for providers like OpenAI quotes a partially masked form of the key (e.g. the sk-proj- prefix and final four characters). The attacker reads that fragment from the HTTP error response, narrowing the operator's third-party provider credential. No public exploit code is identified, but the technique requires only ordinary HTTP requests. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 10, 2026
Unauthenticated error responses from pgEdge RAG Server 1.0.0 and earlier can leak part of the operator's LLM provider API key: the query API handler and GET /v1/health relayed the upstream provider's own error text verbatim, and providers characteristically quote a masked form of a rejected credential (for OpenAI, the sk-proj- prefix and final four characters) in authentication-failure messages. Any remote caller who can reach these endpoints - which carry no authentication in affected versions - can provoke such a failure and read the fragment, which is why the assessment carries Scope: Changed (the disclosed material authenticates to a third-party provider account, not to pgEdge software) at CVSS 5.8; volume is limited because only a partial, masked fragment is exposed and only while the provider is actively rejecting the key. No public exploit code was identified at time of analysis, and pgEdge fixed the behavior in 2.0.0.
RemediationAI
Upgrade to pgEdge RAG Server 2.0.0 or later (release tag https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0), which replaces relayed provider error text with a safeerr-classified fixed message set - this is the only complete fix, since per the vendor the workarounds do not remove the underlying defect. Upgrading does not undo a disclosure that already occurred: rotate every 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 during that window. Interim mitigations named in the advisory GHSA-68g8-gh8f-7rhg are to place the server behind a proxy that rewrites 5xx response bodies or otherwise terminates provider error text before it reaches the API surface, and to keep provider credentials valid so no authentication failure is generated - each reduces exposure, at the cost of either added proxy complexity or reduced diagnostic fidelity, but none substitutes for the upgrade. Note that 2.0.0 also deliberately reduces the error detail available to API clients; operators should consult the server log (where redacted full detail is now written) for diagnosis.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in go, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This is a CWE-209 (generation of error message containing sensitive information) issue, tagged in the vendor advisory with CWE-522 (insufficiently protected credentials), in a Go API server that fronts PostgreSQL/pgvector content for retrieval-augmented generation. In v1.0.0, internal/server/handlers.go:121 passed err.Error() straight to the client when pipeline execution failed, and parseError in internal/llm/openai/client.go built that error by two routes - either interpolating the entire unparsed provider response body, or returning the provider's own errResp.Error.Message field. Because providers echo a truncated version of the submitted key when they reject a credential, the server effectively published part of its configured secret to whoever made the request; the same pattern applied to each provider entry's error field in GET /v1/health and to the error event on streaming responses. The 2.0.0 fix introduces an internal/safeerr package that classifies errors into a fixed, coarse set of client-facing messages (e.g. "the configured provider rejected the server's credentials"), logs full detail with credential-shaped strings redacted, and likewise stops relaying recovered panic values. The trigger is specifically an upstream authentication failure; the vendor states that keeping provider credentials valid avoids the disclosure in practice.
Know when Pgedge Rag Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:N/A:N
Remote and unauthenticated (AV:N, PR:N); AC:H because the key fragment only leaks while the provider is rejecting the credential, a state the attacker does not control; S:C and C:L for partial disclosure of a third-party credential.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
EUVD-2026-121708
GHSA-68g8-gh8f-7rhg
NVD
CVE.org
EPSS
Exploit-DB