CVE-2026-82526

R2R 3.6.6 SQL Injection via Vector Index Creation Endpoint

Published Sep 3, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The vulnerability exists in R2R versions up to 3.6.6 and allows an unauthenticated attacker to inject arbitrary SQL statements into the CREATE INDEX command used by the vector index creation endpoint. The index name parameter is concatenated directly into the SQL statement without any quoting or allowlist validation, enabling execution of semicolon‑separated statements that run as the PostgreSQL superuser. This flaw permits the attacker to perform both data modification and data definition operations on the database, effectively delivering remote code execution on the underlying database system.

Affected Systems

SciPhi‑AI R2R processors running versions 3.6.6 or earlier are affected by this injection flaw. No later versions are listed as vulnerable in the available data.

Risk and Exploitability

The CVSS score of 9.3 indicates high severity, and the absence of an EPSS score means exploitation probability is currently unknown, but the flaw is publicly disclosed and could be exploited locally or remotely through existing connectivity to the vector index creation endpoint without authentication.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Obtain and deploy the latest R2R release that eliminates the stack‑based SQL injection, or apply the vendor’s patch if one is available.
  • Limit access to the vector index creation endpoint to authenticated users only, so that an attacker cannot reach the vulnerable API without credentials.
  • Implement input validation on the index name field, accepting only alphanumeric characters and underscores, and quote or escape the identifier before inclusion in the CREATE INDEX statement.

Generated by OpenCVE AI on September 3, 2026 at 20:00 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sciphi-ai
Sciphi-ai r2r
Vendors & Products Sciphi-ai
Sciphi-ai r2r
Type Values Removed Values Added
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.
Title R2R 3.6.6 SQL Injection via Vector Index Creation Endpoint
Weaknesses CWE-89
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, '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'}

Weaknesses
  • CWE-89

    Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Nov 8, 2026, 2:09 PM
Reserved
Aug 29, 2026, 5:20 PM
Status
Deferred
Published
Sep 3, 2026, 7:17 PM
Modified
Sep 8, 2026, 8:18 PM