CVE-2026-125327
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.
Weakness
- CWE-405: Asymmetric Resource Consumption (Amplification)
- CWE-770: Allocation of Resources Without Limits or Throttling
CISA SSVC decision points
| Exploitation | none |
|---|---|
| Automatable | yes |
| Technical impact | partial |
| Scored | 2026-11-12 |
Timeline
- 2026-11-10Published by the CNA18:02 UTC
- 2026-11-12GitHub advisory published (GHSA-5qg5-rgp6-j5m5)2 days after publication
- 2026-11-12CISA SSVC decision recorded2 days after publication
Exploit and advisory records
GitHub advisory GHSA-5qg5-rgp6-j5m5, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| Go github.com/pgEdge/pgedge-rag-server | before 1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| pgedge pgedge-rag-server |
References
- https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84
- https://github.com/pgEdge/pgedge-rag-server/pull/44
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-5qg5-rgp6-j5m5
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2026-125327'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2026-125327'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2026-125327'curl 'https://api.contrastcyber.com/cve_products/CVE-2026-125327'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).