# CVE-2026-125327: pgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.55%, higher than 47% of CVEs (2026-12-01)
- Published: 2026-11-10T18:02:58.722Z
- Modified: 2026-11-23T20:41:05.725Z
- Also known as: GHSA-5qg5-rgp6-j5m5, GO-2026-6971
- Weaknesses: CWE-405, CWE-770
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the unauthenticated query endpoint uses FetchDocuments in internal/database/search.go to read the entire filtered corpus without a LIMIT and rebuild an in-memory BM25 index on every request. Because HybridEnabled is set by default in internal/config/loader.go and the endpoint has no rate limit, inexpensive remote queries can impose database and CPU work proportional to corpus size and exhaust service resources. This issue is fixed in version 2.0.0.

(As written by CVE List.)

## Affected

- pgEdge pgedge-rag-server: < 2.0.0
- github.com/pgEdge/pgedge-rag-server (Go): before 1.0.1-0.20260729020411-a09d4872356b

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5> (advisory, web)
- <https://github.com/pgEdge/pgedge-rag-server/pull/44> (fix, web)
- <https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84> (fix, web)
- <https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-125327> (advisory)
- <https://github.com/pgEdge/pgedge-rag-server> (package)

## Sources

- CVE List: [CVE-2026-125327](https://www.cve.org/CVERecord?id=CVE-2026-125327), CVE Terms of Use, modified 2026-11-12
- GitHub Advisory Database: [GHSA-5qg5-rgp6-j5m5](https://github.com/advisories/GHSA-5qg5-rgp6-j5m5), CC-BY-4.0, modified 2026-11-23
- Go Vulnerability Database: [GO-2026-6971](https://pkg.go.dev/vuln/GO-2026-6971), CC-BY-4.0, modified 2026-11-23
- NVD: [CVE-2026-125327](https://nvd.nist.gov/vuln/detail/CVE-2026-125327), Public domain, modified 2026-11-12

---

Page: https://cve.day/CVE-2026-125327 · Whole record: https://cve.day/CVE-2026-125327.json · Rebuilt by cve.day 2026-11-25T22:59:50.085Z
