NetSight
high7.5

CVE-2026-125327

pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector.

Impact

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.

An attacker can exploit this over the network, without logging in, without any action by a user. If it succeeds: high risk of outages.

Affected packages

EcosystemPackageAffectedFixed in
gogithub.com/pgEdge/pgedge-rag-server< 1.0.1-0.20260729020411-a09d4872356b1.0.1-0.20260729020411-a09d4872356b

Affected products · pgEdge

ProductAffected versions
Pgedge-rag-server
before 2.0.0
Version < 2.0.0

Weakness classification

References