CVE-2026-125327 Details
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.
A vulnerability in pgEdge RAG Server versions prior to 2.0.0 allows for unauthenticated resource exhaustion through the query endpoint. The issue arises because the BM25 keyword search reads the entire corpus without a limit, causing the workload to scale with the table size rather than the result set. This unbounded read can lead to significant database and CPU usage, especially in larger deployments. The vulnerability is exacerbated by the lack of authentication and rate limiting on the endpoint, allowing any caller to impose a heavy load on the server and database resources.
Upgrade to pgEdge RAG Server version 2.0.0 or later. After upgrading, review the default 'search.bm25_max_documents' value of 10000 against the size of the corpus. Requests that hit the cap are logged, as keyword recall is partial at that point. Additionally, the 'disable_hybrid' request field can be used to skip the keyword search arm for individual queries.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Nov 10, 2026CISA-ADP
Assessed Nov 12, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84 | [email protected] | Source CodeVendor |
| https://github.com/pgEdge/pgedge-rag-server/pull/44 | [email protected] | Source CodeVendor |
| https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0 | [email protected] | Release NotesVendor |
| https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5 | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-405 | Asymmetric Resource Consumption (Amplification) | [email protected] |
| CWE-770 | Allocation of Resources Without Limits or Throttling | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| pgEdge RAG Server | <= 1.0.0 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Nov 12, 2026 | CVE Modified | CISA-ADP |
| Nov 10, 2026 | New CVE Received | [email protected] |
Volerion