MEDIUM · CVSS 3.1 5.9 EPSS 0.3% · 20th percentile CWE-362CWE-488

CVE-2026-125325: pgEdge RAG Server shared keyword index leaked results between concurrent unauthenticated requests

Published 2026-11-12 · Updated 2026-11-23 · Also known as GHSA-w437-9mwm-j6vq, GO-2026-6970

Summary

The pgEdge RAG Server suffers from a concurrency flaw where a shared BM25 keyword index leaks search results between unauthenticated requests under normal load. All deployments using version 1.0.0 or earlier should upgrade immediately and treat past responses as potentially compromised.

Who is affected

Documents belonging to one caller can be returned to another because a single per-pipeline keyword index was shared and locked separately across steps rather than as a unit. This defeats search filters used for tenant or customer scoping during ordinary concurrent traffic without requiring injection or malformed input. Both the leaking party and the recipient are anonymous remote callers due to the unauthenticated query endpoint.

Exploitability

The vulnerability has a CVSS 3.1 base score of 5.9 (MEDIUM) with a vector of AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N, indicating that network exploitation requires high complexity but no privileges or user interaction, leading to high confidentiality impact. It holds an EPSS score of 0.003 and is not listed on the CISA Known Exploited Vulnerabilities list.

Remediation

How to check your project

Automated analysis of the published advisory data, generated 2026-11-24. Not human-reviewed; verify against the official advisory. How this works.

Affected packages

EcosystemPackageAffected versionsFixed inUpgrade
Go github.com/pgEdge/pgedge-rag-server >= 0, < 1.0.1-0.20260729020411-a09d4872356b 1.0.1-0.20260729020411-a09d4872356b go get github.com/pgEdge/[email protected]

CVSS 3.1 vector

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Attack vectorNetwork
Attack complexityHigh
Privileges requiredNone
User interactionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityNone
AvailabilityNone

FAQ

Is authentication required to exploit this vulnerability?

No, the query endpoint is unauthenticated in the affected versions.

Can affected responses be identified from server logs?

No, affected responses cannot be identified from the server's own logs, so there is no retrospective check available.

Are workarounds a complete substitute for upgrading?

No, setting hybrid_enabled to false or passing disable_hybrid are not substitutes for upgrading.

Original advisory description
### Impact Documents belonging to one caller could be returned to another. Where an application passes a customer or tenant identifier as a search filter, that scoping could be defeated by ordinary concurrent traffic. **No injection and no malformed input are required** - normal load is enough. The BM25 keyword index was a single per-pipeline object shared by every request. A request cleared it, refilled it from its own filtered corpus and then searched it, taking a separate lock for each step rather than holding the sequence as a unit. Concurrent requests therefore interleaved, and a search could run against a corpus that a different request's filter had populated. **Who is affected:** any deployment of pgEdge RAG Server at `1.0.0` or earlier, including all alpha and beta pre-releases, that serves concurrent queries - most acutely those relying on a search filter to separate tenants or customers. The query endpoint is unauthenticated in the affected versions (`internal/server/middleware.go:37` applies logging, panic recovery and optional CORS only), so both the party whose results leak and the party receiving them are anonymous remote callers. ### Patches **Fixed in `2.0.0`. Upgrade to `2.0.0` or later.** The index is now built per request rather than shared. The regression is pinned by `TestSearch_ConcurrentRequestsDoNotShareKeywordIndex` in `internal/pipeline/orchestrator_test.go`. **Upgrading does not tell a developer whether or not their application affected, and needs action beyond upgrading.** If a consuminag application scopes results by tenant, treat responses served under concurrent load on any affected version as potentially having included another tenant's documents. **Affected responses cannot be identified from the server's own logs**, so there is no retrospective check available. ### Workarounds Set `hybrid_enabled: false` on the pipeline, which skips the keyword arm and with it the shared index. Callers can also pass `disable_hybrid` per request, which can only ever turn the arm off. Neither is a substitute for upgrading.

References

Source records: GHSA-w437-9mwm-j6vq, GO-2026-6970 (OSV.dev) · EPSS by FIRST, 2026-11-24.