Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/pgEdge/pgedge-rag-server
  4. ›
  5. CVE-2026-125327

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

November 12, 2026

An unauthenticated caller able to reach the query endpoint could exhaust database and server resources with ordinary, inexpensive requests.

The keyword-search arm read the entire corpus on every request and rebuilt an in-memory BM25 index from it, so the cost of serving a query scaled with the size of the source table rather than with the size of the result set. Each request cost the server and the tenant’s database far more than it cost the caller to make, which makes this a materially more effective denial-of-service lever than flooding the endpoint with ordinary requests. The amplification factor grows with corpus size, so the largest deployments are the most exposed.

Hybrid search was enabled by default and configured per pipeline rather than per request, so a caller could not opt out of the keyword arm and an operator could not leave it available to some requests but not others.

Who is affected: any deployment of pgEdge RAG Server at 1.0.0 or earlier, including all alpha and beta pre-releases, whose query endpoint is reachable by an untrusted party. The endpoint required no authentication and applied no rate limiting.

In 1.0.0, internal/database/search.go:130 built the corpus query with no LIMIT:

query = fmt.Sprintf(`
SELECT ...
FROM %s%s`,
tableIdent,
filterClause)

FetchDocuments accepted no limit parameter at all, so neither a caller nor the orchestrator had any way to bound the read. internal/config/loader.go:197 defaulted HybridEnabled to true, and internal/server/middleware.go:37 applied only logging, panic recovery and optional CORS.

References

  • github.com/advisories/GHSA-5qg5-rgp6-j5m5
  • 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

Code Behaviors & Features

Detect and mitigate CVE-2026-125327 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.1-0.20260729020411-a09d4872356b

Fixed versions

  • 1.0.1-0.20260729020411-a09d4872356b

Solution

Upgrade to version 1.0.1-0.20260729020411-a09d4872356b or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-405: Asymmetric Resource Consumption (Amplification)
  • CWE-770: Allocation of Resources Without Limits or Throttling

Source file

go/github.com/pgEdge/pgedge-rag-server/CVE-2026-125327.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Fri, 13 Nov 2026 12:17:40 +0000.