← Back to overview

R2R through version 3.6.6 contains a critical stacked SQL injection vulnerability in its vector index creation endpoint. Unauthenticated attackers can manipulate the index name parameter to execute arbitrary SQL statements. The vulnerability exists because the index name is directly interpolated into a CREATE INDEX statement via string formatting without identifier quoting or allowlist validation. This allows execution of arbitrary DDL and DML statements through semicolon-separated SQL injections. The operations execute under the PostgreSQL superuser account, granting maximum database privileges to an attacker. No authentication is required to exploit this vulnerability, significantly increasing its risk. The issue has been reported via GitHub and documented by VulnCheck.

Affected products

  • PostgreSQL
  • R2R 3.6.6

Related CVE's

  • CVE-2026-82526

Categories

  • Database & Storage
  • Web Technologies
  • Zero-Day Vulnerabilities