CVE-2026-125327
pgEdge RAG Server is an API server for retrieval-augmented …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84
- github.com/pgEdge/pgedge-rag-server/pull/44
- github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
- github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5
- nvd.nist.gov/vuln/detail/CVE-2026-125327
- github.com/advisories/GHSA-5qg5-rgp6-j5m5
- nvd.nist.gov/vuln/detail/CVE-2026-125327
- cve.org/CVERecord?id=CVE-2026-125327
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.