pgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests
No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in github.com/pgEdge/pgedge-rag-server 1.0.1-0.20260729020411-a09d4872356b.
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
Vendors, products and packages with version ranges
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| pgEdge | <2.0.0 | ||
| go: github.com/pgEdge/pgedge-rag-server | <1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b |
Timeline
Every event on this vulnerability
Related
Other vulnerabilities in github.com/pgEdge/pgedge-rag-server (Go), strongest first
Embed
A live severity badge for an advisory, README or ticket