CVE-2026-125327: pgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests
Published 2026-11-12 · Updated 2026-11-23 · Also known as GHSA-5qg5-rgp6-j5m5, GO-2026-6971
Summary
An unbounded corpus read vulnerability in the pgEdge RAG Server allows unauthenticated attackers to exhaust server and database resources via the query endpoint. All deployments using version 1.0.0 or earlier should update immediately.
Who is affected
Deployments of pgEdge RAG Server at version 1.0.0 or earlier are affected if their query endpoint is reachable by untrusted parties. The keyword-search arm reads the entire corpus on every request to rebuild an in-memory BM25 index without limits or authentication, causing resource exhaustion through high amplification factors.
Exploitability
The vulnerability has a CVSS base score of 7.5 (High) with a vector of CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H, indicating it can be exploited remotely over the network with low attack complexity and no privileges or user interaction required, resulting in high availability impact. The EPSS score is 0.004 (percentile 0.396) and it is not listed in the CISA Known Exploited Vulnerabilities catalog.
Remediation
- Upgrade Go github.com/pgEdge/pgedge-rag-server to version 1.0.1-0.20260729020411-a09d4872356b or 2.0.0 and later.
- Place the server behind an authenticating, rate-limiting reverse proxy as a temporary workaround.
- Set hybrid_enabled: false on each pipeline to remove the keyword arm if upgrading is delayed.
How to check your project
- Check project dependency files (such as go.mod) to see if github.com/pgEdge/pgedge-rag-server is at version 1.0.0 or earlier, including alpha and beta pre-releases.
Automated analysis of the published advisory data, generated 2026-11-23. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| 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:L/PR:N/UI:N/S:U/C:N/I:N/A:H
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | None |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | None |
| Integrity | None |
| Availability | High |
FAQ
What causes the resource exhaustion?
The keyword-search arm reads the entire source table corpus on every query request to rebuild an in-memory BM25 index, meaning resource consumption scales with the size of the source table rather than the result set.
Does the endpoint require authentication?
No, the vulnerable query endpoint required no authentication and applied no rate limiting in affected versions.
How does upgrading resolve the vulnerability?
Upgrading to version 2.0.0 or later caps reads via a new per-pipeline search.bm25_max_documents setting that applies a parameterized LIMIT, and introduces a disable_hybrid request field.
Original advisory description
References
- WEB https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2026-125327
- WEB https://github.com/pgEdge/pgedge-rag-server/pull/44
- WEB https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84
- PACKAGE https://github.com/pgEdge/pgedge-rag-server
- WEB https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
Source records: GHSA-5qg5-rgp6-j5m5, GO-2026-6971 (OSV.dev) · EPSS by FIRST, 2026-11-26.