CVE-2026-125327
High 7.5No known exploitationFix availablepgEdge RAG Server unbounded corpus read allows resource exhaustion from unauthenticated requests
Vendor advisory: GHSA-5qg5-rgp6-j5m5
Record last updated
CVSS score
High on a 0 to 10 scale
EPSS, chance of exploitation in 30 days
Higher than 40% of scored CVEs. A prediction, not evidence.
CISA remediation deadline
Not in the KEV catalog
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.
Weakness: CWE-405, CWE-770
Patching and mitigation
- Patch status
- Fix available (source: GitHub Advisory Database)
- Fix documented (source date)
- Mitigation
- None documented
- Vendor guidance
- github.com (opens in a new tab)
Affected products
| Vendor | Product | Affected versions | Fixed in | Per |
|---|---|---|---|---|
| go | github.com/pgEdge/pgedge-rag-server | all versions before 1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b | GitHub Advisory Database |
| pgEdge | pgedge-rag-server | < 2.0.0 | Not documented | CVE Program |
Timeline
Disclosure
CVE record published by GitHub_M
Source: CVE Program (opens in a new tab)
Patch
Fix documented by GitHub Advisory Database
Vendor guidance and references
- GitHub Advisory GHSA-5qg5-rgp6-j5m5 (opens in a new tab)github-advisory
- https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/pull/44 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0 (opens in a new tab)x_refsource_misc
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5 (opens in a new tab)x_refsource_confirm