Skip to main content

pgEdge RAG Server CVE-2026-125327

| EUVDEUVD-2026-121709 HIGH
Asymmetric Resource Consumption (Amplification) (CWE-405)
2026-11-10 security-advisories@github.com GHSA-5qg5-rgp6-j5m5
7.5
CVSS 3.1 · Vendor: github
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Reach unauthenticated query endpoint
  2. Exploit
    Send cheap repeated hybrid queries
  3. Execution
    Trigger unbounded corpus read and BM25 index rebuild
  4. Impact
    Exhaust database and server resources

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V2 - Validation and Business Logic Asymmetric resource consumption control
Exploitation Conditions

Exploitable when the pgEdge RAG Server query endpoint (version <= 1.0.0) is reachable by an untrusted party AND the pipeline's hybrid search is enabled - which is the default, since HybridEnabled defaults to true in internal/config/loader.go and cannot be opted out per request in vulnerable versions. The endpoint applies no authentication and no rate limiting (middleware provides only logging, panic recovery, and optional CORS), so no credentials or user interaction are needed. The denial-of-service amplification scales with source-table size, so the largest corpora are the most exposed. Limiting factors: the endpoint must be reachable by the attacker; the issue is neutralized by placing the server behind an authenticating, rate-limiting reverse proxy, or by setting hybrid_enabled: false per pipeline (removing the keyword arm and the unbounded read at the cost of keyword recall). The vendor states neither workaround substitutes for upgrading to 2.0.0.

Impact

All available signals point to a genuine but bounded availability risk, not a confidentiality/integrity breach. The provided CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H) scores 7.5 and is internally consistent: remote, low-complexity, unauthenticated, with impact confined to availability (C:N/I:N/A:H), matching CWE-405 (asymmetric resource consumption) and the GHSA's additional CWE-770. The vuln.today Decision label is 'this_week' (not act_now/emergency), which aligns with a serious-but-not-critical DoS. No KEV listing and no EPSS score were supplied, and no working exploit is referenced - only vendor artifacts (commit, PR #44, release, GHSA-5qg5-rgp6-j5m5) - so exploitation status is 'no public exploit identified at time of analysis.' The signals do not conflict: a high CVSS driven purely by A:H plus a mid-tier triage label and absent exploitation evidence describe a real, patch-this-week availability issue rather than an urgent breach. The one caveat worth verifying is the 'Information Disclosure' tag, which contradicts the CVSS C:N and CWE-405 scope of this specific CVE (the advisory's cross-tenant leak was a separate concurrency bug fixed in the same 2.0.0 release); treat this CVE as resource exhaustion, not data disclosure.

Exploit ScenarioDerived

An attacker who can reach the unauthenticated /v1 query endpoint repeatedly submits ordinary, inexpensive hybrid queries. Because hybrid search is enabled by default and the BM25 keyword arm reads the entire filtered corpus (no LIMIT) and rebuilds an in-memory index on every request, each cheap call forces database and CPU work proportional to table size - an amplification that grows with corpus size and exhausts service resources. No public exploit is identified, but the mechanism is fully documented in the vendor advisory and the fixing commit.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.4% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 10, 2026

Unauthenticated resource exhaustion in pgEdge RAG Server 1.0.0 and earlier (including all alpha/beta pre-releases) lets any caller who can reach the query endpoint force the BM25 keyword arm to read the entire filtered corpus with no LIMIT and rebuild an in-memory index on every request, so database and CPU cost scale with table size rather than result size. Hybrid search is on by default per pipeline, cannot be declined per request in vulnerable versions, and the endpoint enforces no authentication and no rate limiting, making inexpensive remote queries a materially stronger amplification lever than ordinary request flooding. There is no public exploit identified at time of analysis; the vendor-released fix is version 2.0.0, and effort is scheduled this week under a this_week decision label.

RemediationAI

Vendor-released patch: upgrade to pgEdge RAG Server 2.0.0 or later (release https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0, fix commit a09d4872356b510c81f11591845445c33ff45a84, PR https://github.com/pgEdge/pgedge-rag-server/pull/44). After upgrading, review the default search.bm25_max_documents value of 10000 against your corpus size, because a cap far below corpus size silently reduces keyword recall, and requests that hit the cap are logged so partial recall is visible in operation; there is no unlimited setting, and raising the value accepts the corresponding cost. Where upgrading is not yet possible the advisory lists two workarounds, neither a substitute for patching: place the server behind an authenticating, rate-limiting reverse proxy, which absorbs the amplification and bounds per-caller request volume at the cost of an extra hop and proxy maintenance, or set hybrid_enabled: false on each pipeline, which removes the keyword arm and the unbounded read entirely at the cost of losing keyword recall. The request-level disable_hybrid option and the bm25_max_documents setting are only available after upgrading to 2.0.0, so they cannot be used to harden a 1.0.0 deployment.

Affected VersionsENISA

pgedge-rag-server < 2.0.0

Affected Packages

go github.com/pgedge/pgedge-rag-server fix: 1.0.1-0.20260729020411-a09d4872356b
euvd pgedge_rag_server fix: 2.0.0

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in go, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

pgEdge RAG Server exposes an API for retrieval-augmented generation over PostgreSQL content using pgvector. A hybrid query runs two arms: a vector-search arm pushed down to PostgreSQL's index, and a BM25 keyword arm that has no server-side ranking equivalent, so the server reads matching rows and ranks them in memory. In 1.0.0, FetchDocuments in internal/database/search.go built its corpus query by string-formatting the table identifier and filter clause with no LIMIT, and accepted no limit parameter at all, so neither caller nor orchestrator could bound the read. Because internal/config/loader.go defaulted HybridEnabled to true and the setting was per pipeline rather than per request, callers could not opt out, and internal/server/middleware.go applied only logging, panic recovery and optional CORS. The root cause class is CWE-405, asymmetric resource consumption, compounded by CWE-770: work performed per request is proportional to corpus size while the requester's cost stays flat, and the amplification factor grows with the largest deployments. The fix in 2.0.0 introduces a per-pipeline search.bm25_max_documents cap (default 10000) plumbed through SearchBackend.FetchDocuments as a parameterised LIMIT, rejects non-positive values at config load rather than treating them as unlimited, logs requests that hit the cap because keyword recall becomes partial, and adds a request-level disable_hybrid flag that can only switch the arm off, never on. The same release also moved the BM25 index from a shared per-pipeline object to a per-request build, which the vendor's changelog describes as resolving a concurrency correctness issue where interleaved requests could search a corpus populated by another request's filter; the assessed vector for this CVE rates confidentiality and integrity impact as none, so that is documented as a related correctness fix rather than part of this advisory's impact.

Know when PostgreSQL gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (github) PRIMARY 7.5 HIGH
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
vuln.today AI 7.5 HIGH

Remote unauthenticated endpoint with no rate limit (AV:N/AC:L/PR:N/UI:N) and impact limited to availability via resource exhaustion (C:N/I:N/A:H), scope unchanged.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (github).

CVSS VectorVendor: github

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
None
Availability
High

Lifecycle Timeline

2
Patch available
Nov 10, 2026 - 19:50 EUVD
CVE Published
Nov 10, 2026 - 19:21 cve.org
HIGH 7.5

DescriptionCVE.org

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.

Technical POC Analysis

CWE-405 (Asymmetric Resource Consumption / Amplification), with CWE-770 as the co-classified weakness.

Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.

Executive ViewAI

Why It Matters

CVE-2026-125327 is a high-severity flaw in pgEdge RAG Server 1.0.0 and earlier that lets any unauthenticated caller who can reach the query endpoint trigger resource exhaustion, causing database and CPU costs to scale with corpus size rather than query size. This affects the availability and operating cost of any RAG-based search service built on the vulnerable versions, and because the endpoint has no authentication or rate limiting, an external actor could degrade service or inflate infrastructure spend without credentials. Leadership should care because the exposure is remote, inexpensive to trigger, and directly impacts service reliability and cloud/database costs.

Business Impact: High
Compensating Controls

Apply vendor patch (upgrade to 2.0.0). If upgrade cannot be completed immediately, restrict network access to the query endpoint, front it with an authenticating reverse proxy and rate limiting, and monitor database and CPU utilization for anomalies.

Threat Intelligence Overview

EPSS Score
0.4%
Top 61% exploitable
Prevalence
Low
niche, recently released RAG API server with limited production footprint
Threat Intel
1
1 source
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2025-1094 HIGH POC
8.1 Feb 13

PostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl

CVE-2024-55964 CRITICAL POC
9.8 Mar 26

An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl

CVE-2013-1899 MEDIUM POC
6.5 Apr 04

Argument injection vulnerability in PostgreSQL 9.2.x before 9.2.4, 9.1.x before 9.1.9, and 9.0.x before 9.0.13 allows re

CVE-2026-20253 CRITICAL POC
9.8 Jun 10

Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.

CVE-2026-9586 CRITICAL POC
9.3 Jul 17

Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar

CVE-2017-7546 CRITICAL
9.8 Aug 16

PostgreSQL versions before 9.2.22, 9.3.18, 9.4.13, 9.5.8 and 9.6.4 are vulnerable to incorrect authentication flaw allow

CVE-2015-1352 MEDIUM POC
5.0 Mar 30

The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t

CVE-2024-10553 CRITICAL POC
9.8 Mar 20

A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra

CVE-2019-9193 HIGH POC
7.2 Apr 01

In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve

CVE-2026-40887 CRITICAL POC
9.1 Apr 14

Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the

CVE-2022-24760 CRITICAL POC
10.0 Mar 12

Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot

CVE-2025-56157 CRITICAL POC
9.8 Dec 18

Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy