Description
R2R through 3.6.6 contains a stacked SQL injection vulnerability that allows unauthenticated attackers to execute arbitrary SQL statements by manipulating the index name parameter in the vector index creation endpoint. The index name is interpolated directly into a CREATE INDEX statement via string formatting without identifier quoting or allowlist validation, enabling arbitrary DDL and DML execution through semicolon-separated statements under the PostgreSQL superuser account.
Severity (CVSS)
| Base score | 9.3 |
|---|---|
| Severity | Critical |
| Version | CVSS 4.0 |
| Vector | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| Provided by | CNA |
Weaknesses
- CWE-89 — Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Affected products
| Vendor | Product | Versions |
|---|---|---|
| SciPhi-AI | R2R | 0 to <=3.6.6; 0 to <=9c5a94d151f90876bd7eb860f300a8fd662dc481 |
References
- https://github.com/SciPhi-AI/R2R/issues/2309 (technical-description exploit)
- https://www.vulncheck.com/advisories/r2r-sql-injection-via-vector-index-creation-endpoint (third-party-advisory)
Generated from the official CVE List on 04 Sep 2026 07:42 UTC.