CVE-2026-125327
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.
How to fix
- pgEdge pgedge-rag-server2.0.0 or later
- github.com/pgEdge/pgedge-rag-server1.0.1-0.20260729020411-a09d4872356b or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pgEdge pgedge-rag-server | v < 2.0.0 | 2.0.0 |
| github.com/pgEdge/pgedge-rag-serverGo | v < 1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.