CVE-2026-125325

CVE-2026-125325 is a medium-severity race condition vulnerability in github.com/pgEdge/pgedge-rag-server (go), affecting versions < 1.0.1-0.20260729020411-a09d4872356b. It is fixed in 1.0.1-0.20260729020411-a09d4872356b.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

pgEdge RAG Server shared keyword index leaked results between concurrent unauthenticated requests

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.

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.

Multiple concurrent operations access a shared resource without proper synchronization, producing unpredictable results depending on timing. Typical impact: TOCTOU exploits, data corruption, or privilege escalation.

CVE-2026-125325 has a CVSS score of 5.9 (Medium). The vector is network-reachable, no privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (1.0.1-0.20260729020411-a09d4872356b); upgrading removes the vulnerable code path.

Affected versions

github.com/pgEdge/pgedge-rag-server (< 1.0.1-0.20260729020411-a09d4872356b)

Security releases

github.com/pgEdge/pgedge-rag-server → 1.0.1-0.20260729020411-a09d4872356b (go)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

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.

Frequently Asked Questions

  1. What is CVE-2026-125325? CVE-2026-125325 is a medium-severity race condition vulnerability in github.com/pgEdge/pgedge-rag-server (go), affecting versions < 1.0.1-0.20260729020411-a09d4872356b. It is fixed in 1.0.1-0.20260729020411-a09d4872356b. Multiple concurrent operations access a shared resource without proper synchronization, producing unpredictable results depending on timing.
  2. How severe is CVE-2026-125325? CVE-2026-125325 has a CVSS score of 5.9 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of github.com/pgEdge/pgedge-rag-server are affected by CVE-2026-125325? github.com/pgEdge/pgedge-rag-server (go) versions < 1.0.1-0.20260729020411-a09d4872356b is affected.
  4. Is there a fix for CVE-2026-125325? Yes. CVE-2026-125325 is fixed in 1.0.1-0.20260729020411-a09d4872356b. Upgrade to this version or later.
  5. Is CVE-2026-125325 exploitable, and should I be worried? Whether CVE-2026-125325 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether CVE-2026-125325 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix CVE-2026-125325? Upgrade github.com/pgEdge/pgedge-rag-server to 1.0.1-0.20260729020411-a09d4872356b or later.

Other vulnerabilities in github.com/pgEdge/pgedge-rag-server

Stop the waste.
Protect your environment with Kodem.