Unbounded corpus read in pgEdge RAG Server allows resource exhaustion
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-770.
Summary
pgEdge RAG Server before 2.0.0 is affected. The unauthenticated query endpoint reads the entire filtered corpus without a limit and rebuilds an in-memory BM25 index on every request, which is unbounded resource consumption (CWE-770). A remote attacker without credentials can exhaust database and CPU resources with inexpensive queries, because hybrid search is enabled by default and the endpoint has no rate limit.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the CNA
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- Yes
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pgEdge | pgedge-rag-server | before 2.0.0 | 2.0.0 | Patch available | CNA |
| — | github.com/pgEdge/pgedge-rag-server (Go) | before 1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b | Patch available | GHSA-5qg5-rgp6-j5m5 |
- pgedge-rag-server VendorpgEdge Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
- github.com/pgEdge/pgedge-rag-server (Go) Vendor— Affected before 1.0.1-0.20260729020411-a09d4872356b Fixed in 1.0.1-0.20260729020411-a09d4872356b Patch available GHSA-5qg5-rgp6-j5m5
Remediation
Upgrade pgEdge RAG Server to version 2.0.0. For the Go module github.com/pgEdge/pgedge-rag-server, update to 1.0.1-0.20260729020411-a09d4872356b.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · CNA pgedge-rag-server (pgEdge) Fixed in 2.0.0
- Fix · GHSA-5qg5-rgp6-j5m5 github.com/pgEdge/pgedge-rag-server (Go) Fixed in 1.0.1-0.20260729020411-a09d4872356b Advisory →
Timeline
- 2026-11-10 Threatist record created from CVE-2026-125327
- 2026-11-12 Priority changed: MEDIUM → LOW
- 2026-11-12 CISA SSVC decision points changed
- 2026-11-12 Alias added: GHSA-5qg5-rgp6-j5m5
- 2026-11-12 Fix available: Go/github.com/pgEdge/[email protected] · GHSA-5qg5-rgp6-j5m5
- 2026-11-12 CVSS score added · GHSA-5qg5-rgp6-j5m5
- 2026-11-12 Weakness changed · GHSA-5qg5-rgp6-j5m5
- 2026-11-12 6 new references · GHSA-5qg5-rgp6-j5m5
References
Other 5
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5
- https://github.com/pgEdge/pgedge-rag-server/pull/44
- https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
- https://github.com/pgEdge/pgedge-rag-server
More pgEdge vulnerabilities
- TI-2026-90432 SQL injection in pgEdge Postgres MCP Server via custom pl-do tools CVSS 3.1HIGH 8.8
- TI-2026-90431 Read-only bypass in pgEdge Postgres MCP Server allows database writes CVSS 3.1HIGH 8.1
- TI-2026-87969 Trust rules in pgEdge Control Plane allow passwordless Postgres login CVSS 3.1HIGH 7.8
- TI-2026-87900 Rate limiting bypass in pgEdge Postgres MCP Server via X-Forwarded-For header CVSS 3.1MEDIUM 6.5
- TI-2026-88778 pgEdge Go LLM Library exposes provider API key fragments in error messages CVSS 3.1MEDIUM 5.8
- TI-2026-87972 pgEdge RAG Server leaks part of provider API key in error messages CVSS 3.1MEDIUM 5.8
Sources
- CVE-2026-125327 · CVE Program
- CVE-2026-125327 · NVD
- FIRST EPSS
- GHSA-5qg5-rgp6-j5m5 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences