CVE-2026-82526
CriticalCVSS 9.8Summary
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.
Risk Assessment
An attacker could execute arbitrary SQL commands, potentially leading to full database compromise, data breach, or deletion.
Recommendation
Update R2R to a patched version or apply identifier quoting and allowlist validation in SQL queries.
Other vulnerabilities in R2R
See all- CVE-2026-82527High
R2R through 3.6.6 contains a SQL injection vulnerability that allows unauthenticated attackers to inject SQL predicates into the chunks search query by manipulating the filter key parameter. Attackers can exploit the direct interpolation of filter keys into the SQL WHERE clause to perform time-based and boolean-based data exfiltration.
- CVE-2026-82271Medium
R2R through 3.6.5 fails to properly validate user ownership in conversation update and message handlers, allowing authenticated users to modify other users' conversations. Attackers can supply arbitrary conversation identifiers to rename conversations and append messages to other users' conversation histories, corrupting state and injecting malicious content.
Original NVD description (English source)
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.

