Skip to main content

pgEdge RAG Server EUVDEUVD-2026-121707

| CVE-2026-125325 MEDIUM
Race Condition (CWE-362)
2026-11-10 GitHub_M GHSA-w437-9mwm-j6vq
5.9
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated query endpoint
  2. Delivery
    Issue concurrent tenant-filtered queries
  3. Exploit
    Interleave shared BM25 index clear/refill/search
  4. Execution
    Search runs against another request's corpus
  5. Impact
    Receive another tenant's documents

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A06:2025 - Insecure Design
ASVS 5.0
V15 - Secure Coding and Architecture Concurrency control, locking
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires a deployment of pgEdge RAG Server at 1.0.0 or earlier serving concurrent queries with the hybrid BM25 keyword arm enabled (the default), and is most impactful where the application uses the per-request filter parameter to separate tenants or customers - that filter scoping is what gets defeated. The endpoint is unauthenticated, so both victim and recipient are anonymous remote callers. Limiting factors: the leak depends on concurrent requests interleaving (non-deterministic timing that an attacker cannot control, so a specific victim's documents cannot be reliably targeted), and it only matters where results are scoped by filter. It can be partially mitigated by setting hybrid_enabled: false on the pipeline or passing disable_hybrid per request (both skip the keyword arm and its shared index), but the vendor states neither is a substitute for upgrading to 2.0.0, which is the only complete fix.

Impact

This is a genuine but moderate-priority cross-tenant information-disclosure flaw, not a drop-everything emergency. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, 5.9) aligns with the mechanism: the query endpoint is unauthenticated (PR:N), reachable over the network (AV:N), and leaks confidential cross-tenant documents (C:H) with no integrity or availability impact. AC:H is justified because the leak depends on concurrent requests interleaving their clear/refill/search locks on the shared BM25 index - the advisory states ordinary concurrent traffic is enough to trigger it, but an attacker cannot deterministically control the timing or choose which tenant's documents they receive, making targeted retrieval of a specific victim's data unreliable. No EPSS score, KEV listing, or public exploit was provided in the input, and no PoC reference appears (the GitHub links are the advisory, fixing PR #44, fix commit, and the 2.0.0 release - i.e. patch artifacts, not exploit code), so exploitation status is: no public exploit identified at time of analysis. The vuln.today decision label is this_month, consistent with a real-but-not-urgent priority. The most serious practical angle is that affected responses cannot be identified retrospectively from server logs, so there is no way to scope historical exposure - this raises the operational/compliance cost even though raw CVSS is only medium.

Exploit ScenarioDerived

Two anonymous remote callers send queries to the unauthenticated endpoint at roughly the same time; one caller's tenant filter clears and refills the shared BM25 keyword index, and the other caller's search then runs against that corpus, returning documents belonging to a different tenant or customer. No malformed input or injection is required - normal concurrent load is sufficient. No public exploit code was identified; exploitation also cannot be reliably aimed at a chosen victim because it depends on uncontrolled request interleaving.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Cross-tenant information disclosure in pgEdge RAG Server 1.0.0 and earlier lets unauthenticated remote callers receive documents that fall outside their own search filter when the hybrid BM25 keyword arm is enabled. The per-pipeline keyword index was cleared, refilled from the caller's filtered corpus and searched as three separately locked steps, so under ordinary concurrent load one request could search an index another request's tenant filter had populated - no malformed input or injection is needed, and affected responses cannot be reconstructed from server logs afterwards. Risk is concentrated in deployments serving concurrent queries and relying on the filter parameter to separate customers; the interleaving is timing-dependent and cannot be steered at a chosen victim, no public exploit code or active exploitation has been identified, and upgrading to 2.0.0 is the only complete fix.

RemediationAI

Vendor-released patch: 2.0.0 - upgrade pgEdge RAG Server to 2.0.0 or later, which builds the BM25 keyword index per request and removes the shared mutable object (https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0, commit a09d4872356b510c81f11591845445c33ff45a84). Operators who cannot upgrade immediately can set hybrid_enabled: false on the affected pipeline, which skips the keyword arm and its shared index entirely; callers can also pass disable_hybrid per request, a flag that can only turn the arm off, never on. Both trade keyword recall for safety and the vendor states neither is a substitute for upgrading, since the query endpoint is unauthenticated and any anonymous caller can still trigger the race while the arm is enabled. Note that upgrading does not reveal past exposure: responses served under concurrent load on 1.0.0 or earlier cannot be identified from the server's own logs, so applications that scope results by tenant should treat such responses as potentially having included another tenant's documents and handle that disclosure through their own incident process rather than log review. The 2.0.0 release also introduces the per-pipeline search.bm25_max_documents cap (default 10000) that bounds how many rows the keyword arm reads per request and logs when the cap is hit, but that setting addresses query cost and partial keyword recall, not the cross-tenant leak.

Affected VersionsENISA

pgedge-rag-server < 2.0.0

Affected Packages

go github.com/pgedge/pgedge-rag-server fix: 1.0.1-0.20260729020411-a09d4872356b
euvd pgedge_rag_server fix: 2.0.0

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

pgEdge RAG Server is a Go API server that performs retrieval-augmented generation over PostgreSQL content stored with pgvector. Hybrid retrieval combines dense vector similarity search, whose ranking is pushed down into PostgreSQL, with a BM25 keyword arm that reads rows matching the request's filter and rebuilds an in-memory ranking, because BM25 has no equivalent server-side index to delegate to. In affected releases that BM25 index was a single per-pipeline object shared by every request hitting the unauthenticated query endpoint (middleware at internal/server/middleware.go:37 applies only logging, panic recovery and optional CORS). Each request cleared the shared index, refilled it from its own filtered corpus and searched it, taking an individual lock for each step rather than holding the clear-refill-search sequence as one atomic unit - a classic CWE-362 race with a non-atomic check-and-act window, which the vendor additionally classifies as CWE-488 exposure of a data element to the wrong session. Because the index contents at search time could belong to a different request, a lease of another tenant's rows occurs whenever requests interleave; the trigger is concurrency itself, not crafted input, and CVSS AC:H reflects that the attacker cannot control which request wins the race. The 2.0.0 fix builds the index per request instead of sharing it, pinned by TestSearch_ConcurrentRequestsDoNotShareKeywordIndex; the same release adds a per-request disable_hybrid flag and a per-pipeline search.bm25_max_documents cap (default 10000) that bounds how many rows the keyword arm reads, since the BM25 query previously carried no LIMIT and scaled in cost with table size. Vector search is unaffected by either change.

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

Vendor (GitHub_M) PRIMARY 5.9 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
vuln.today AI 5.9 MEDIUM

Unauthenticated network endpoint (PR:N/AV:N) leaking cross-tenant documents (C:H); AC:H because the leak relies on uncontrolled concurrent request interleaving (race); no integrity or availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 10, 2026 - 19:20 EUVD

DescriptionCVE.org

pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the BM25 keyword index is a single per-pipeline object shared by the unauthenticated query endpoint, and concurrent requests lock its clear, refill, and search operations separately. This allows one request to search a corpus populated through another request's search filter, which can return documents belonging to a different tenant or customer without malformed input. The affected responses cannot be identified retrospectively from the server logs. This issue is fixed in version 2.0.0.

Threat Intelligence Overview

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Low
niche vendor RAG-over-PostgreSQL server, limited production deployment footprint
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

50
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +30
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Race conditions occur when multiple concurrent requests exploit the brief time gap between checking a condition and acting upon it (TOCTOU - Time of Check, Time of Use).

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy