Skip to content

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

HighCVSS 7.5 EPSS 0.45%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

2 packages: 1 fixed.

PackageAffectedFixed inStatus
pgedge-rag-server(Go) < 1.0.1-0.20260729020411-a09d4872356b 1.0.1-0.20260729020411-a09d4872356b Fixed
pgedge-rag-server = < 2.0.0 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
pgedge-rag-server = < 2.0.0 No fix listed
pgedge-rag-server(Go) < 1.0.1-0.20260729020411-a09d4872356b 1.0.1-0.20260729020411-a09d4872356b

References