CVE-2026-125327

pgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests

High published · updated · also known as GHSA-5QG5-RGP6-J5M5

7.5
CVSS score out of 10 · NVD (github.com)

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.

Affected products and versions

Product / packageEcosystem / vendorVersionsFixed inSource
github.com/pgedge/pgedge-rag-server go < 1.0.1-0.20260729020411-a09d4872356b1.0.1-0.20260729020411-a09d4872356b GitHub

References