Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach unauthenticated query endpoint
-
ExploitSend cheap repeated hybrid queries
-
ExecutionTrigger unbounded corpus read and BM25 index rebuild
-
ImpactExhaust 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
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.
Primary rating from Vendor (github).
CVSS VectorVendor: github
Lifecycle Timeline
2DescriptionCVE.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.
Articles & Coverage 2
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
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.
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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.
More in PostgreSQL
View allPostgreSQL libpq functions PQescapeLiteral(), PQescapeIdentifier(), PQescapeString(), and PQescapeStringConn() improperl
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
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
Unauthenticated arbitrary file write in Splunk Enterprise (below 10.2.4 and 10.0.7) and Splunk Cloud Platform (below 10.
Unauthenticated SQL injection in Sangoma Switchvox SMB Edition 8.3 (build 104997) lets remote attackers execute arbitrar
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
The build_tablename function in pgsql.c in the PostgreSQL (aka pgsql) extension in PHP through 5.6.7 does not validate t
A vulnerability in the h2oai/h2o-3 REST API versions 3.46.0.4 allows unauthenticated remote attackers to execute arbitra
In PostgreSQL 9.3 through 11.2, the "COPY TO/FROM PROGRAM" function allows superusers and users in the 'pg_execute_serve
Unauthenticated SQL injection in Vendure Shop API allows remote attackers to execute arbitrary SQL commands against the
Parse Server is an open source http web server backend. Rated critical severity (CVSS 10.0), this vulnerability is remot
Hard-coded default PostgreSQL credentials shipped in the docker-compose.yaml of langgenius Dify through version 1.5.1 al
EUVD-2026-121709
GHSA-5qg5-rgp6-j5m5
NVD
CVE.org
EPSS
Exploit-DB