CVE-2026-82526 Details
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.
A stacked SQL injection vulnerability has been identified in R2R versions through 3.6.6. This vulnerability allows unauthenticated attackers to execute arbitrary SQL statements by manipulating the index name parameter in the vector index creation endpoint. The issue arises because the index name is directly interpolated into a CREATE INDEX statement using string formatting, without proper identifier quoting or allowlist validation. This oversight enables the execution of arbitrary Data Definition Language (DDL) and Data Manipulation Language (DML) statements, separated by semicolons, under the PostgreSQL superuser account.
To address this vulnerability, treat the index name and index column parameters as SQL identifiers by allowlisting them and applying proper quoting before interpolation into SQL statements. Additionally, require superuser privileges for the '/v3/indices' POST and DELETE endpoints, and set authentication requirements to true by default.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Sep 3, 2026CISA-ADP
Assessed Sep 4, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/SciPhi-AI/R2R/issues/2309 | [email protected] | ExploitIssue TrackingTechnical AnalysisVendor |
| https://www.vulncheck.com/advisories/r2r-sql-injection-via-vector-index-creation-endpoint | [email protected] | Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-89 | Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| SciPhi-AI R2R | <= 3.6.6 (semver) 9c5a94d |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Sep 4, 2026 | CVE Modified | CISA-ADP |
| Sep 3, 2026 | CVE Modified | [email protected] |
| Sep 3, 2026 | New CVE Received | [email protected] |
Volerion