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.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
SciPhi-AI R2R
Default version status: unaffected
0 to ≤ 3.6.6affected0 to ≤ 9c5a94d151f90876bd7eb860f300a8fd662dc481affected
pkg:github/SciPhi-AI/R2R