CVE-2026-125325
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector.
Impact
pgEdge RAG Server is an API server for retrieval-augmented generation over PostgreSQL content using pgvector. Prior to 2.0.0, the BM25 keyword index is a single per-pipeline object shared by the unauthenticated query endpoint, and concurrent requests lock its clear, refill, and search operations separately. This allows one request to search a corpus populated through another request's search filter, which can return documents belonging to a different tenant or customer without malformed input. The affected responses cannot be identified retrospectively from the server logs. This issue is fixed in version 2.0.0.
An attacker can exploit this over the network, without logging in, without any action by a user. Specific conditions have to be met, which makes an attack harder. If it succeeds: high risk of data being read.
Affected packages
| Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|
| go | github.com/pgEdge/pgedge-rag-server | < 1.0.1-0.20260729020411-a09d4872356b | 1.0.1-0.20260729020411-a09d4872356b |
Affected products · pgEdge
| Product | Affected versions |
|---|---|
| Pgedge-rag-server | before 2.0.0 Version < 2.0.0 |
Weakness classification
References
- NVD record
- CVE.org record
- GitHub advisory
- https://github.com/pgEdge/pgedge-rag-server/security/advisories/GHSA-w437-9mwm-j6vq
- https://github.com/pgEdge/pgedge-rag-server/pull/44
- https://github.com/pgEdge/pgedge-rag-server/commit/a09d4872356b510c81f11591845445c33ff45a84
- https://github.com/pgEdge/pgedge-rag-server/releases/tag/v2.0.0
- https://github.com/advisories/GHSA-w437-9mwm-j6vq
- https://nvd.nist.gov/vuln/detail/CVE-2026-125325