Description (CNA)
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.
Affected (CNA)
| Vendor / product | Versions |
|---|---|
| SciPhi-AI / R2R | affected 0 through 3.6.6; affected 0 through 9c5a94d151f90876bd7eb860f300a8fd662dc481 |
CWE
CWE-89
References
- https://github.com/SciPhi-AI/R2R/issues/2309
- https://www.vulncheck.com/advisories/r2r-sql-injection-via-vector-index-creation-endpoint
ADP enrichment
No English description supplied.
No references supplied.