Read the docs

Unbounded corpus read in pgEdge RAG Server allows resource exhaustion

Priority LOW 39CWE-405Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00446 39th percentileScored 2026-11-16
Fix Fixed pgedge-rag-server (pgEdge): 2.0.0github.com/pgEdge/pgedge-rag-server (Go): 1.0.1-0.20260729020411-a09d4872356b

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

VendorProductAffected versionsFixed inStatusSource
pgEdgepgedge-rag-serverbefore 2.0.02.0.0Patch availableCNA
—github.com/pgEdge/pgedge-rag-server (Go)before 1.0.1-0.20260729020411-a09d4872356b1.0.1-0.20260729020411-a09d4872356bPatch availableGHSA-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

  1. 2026-11-10 Threatist record created from CVE-2026-125327
  2. 2026-11-12 Priority changed: MEDIUM → LOW
  3. 2026-11-12 CISA SSVC decision points changed
  4. 2026-11-12 Alias added: GHSA-5qg5-rgp6-j5m5
  5. 2026-11-12 Fix available: Go/github.com/pgEdge/[email protected] · GHSA-5qg5-rgp6-j5m5
  6. 2026-11-12 CVSS score added · GHSA-5qg5-rgp6-j5m5
  7. 2026-11-12 Weakness changed · GHSA-5qg5-rgp6-j5m5
  8. 2026-11-12 6 new references · GHSA-5qg5-rgp6-j5m5

References

  • 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
See all 11 →

Sources