CVE-2026-82526: R2R 3.6.6 SQL Injection via Vector Index Creation Endpoint
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.
Security readout for executives and security teams
Plain-English summary
An internet-reachable R2R deployment could let an unauthenticated attacker manipulate its PostgreSQL database through the vector index creation endpoint. Because the application reportedly connects with superuser privileges, successful abuse could expose, alter, or destroy data and disrupt service.
Executive priority
Act immediately on internet-facing or unauthenticated deployments. Restrict access, assess possible database compromise, and pursue vendor remediation. Internal deployments still warrant accelerated review because a compromised internal account or host could reach the same unauthenticated path.
Technical view
R2R through 3.6.6 reportedly inserts the supplied index name directly into a CREATE INDEX statement without identifier quoting or allowlist validation. Semicolon-separated input can produce stacked SQL statements, enabling arbitrary DDL and DML execution as the PostgreSQL superuser. This is classified as CWE-89 with CVSS 3.1 score 9.8.
Likely exposure
Prioritize R2R deployments through version 3.6.6 where the vector index creation endpoint is reachable without authentication, especially from the internet. The bundle's structured affected-version data is inconsistent, listing versions as “0” despite the narrative stating “through 3.6.6”; confirm scope with vendor guidance.
Exploitation context
The supplied disclosure describes an exploitable injection path, but CISA KEV inclusion is false and no cited source establishes active exploitation in the wild. Treat exposed systems as urgent because exploitation reportedly requires no credentials, user interaction, or complex conditions.
Researcher notes
The reported root cause is unsafe SQL identifier interpolation rather than parameterized identifier handling. Impact is amplified by execution under a PostgreSQL superuser. Public evidence supports arbitrary SQL capability, but the supplied bundle does not identify a fixed version, official patch, observed exploitation, or reliable structured version range.
Mitigation direction
Check SciPhi-AI guidance for a corrected release or official remediation.
Restrict external access to the vector index creation endpoint immediately.
Require authentication or trusted-network controls before requests reach the endpoint.
Reduce the application's PostgreSQL privileges, particularly superuser access, where operationally supported.
Preserve relevant application, proxy, and PostgreSQL logs before remediation.
Validation and detection
Inventory R2R deployments and record their exact versions.
Determine whether the vector index creation endpoint accepts unauthenticated requests.
Review routing, firewall, proxy, and authentication controls protecting the endpoint.
Review PostgreSQL roles used by R2R for superuser or excessive privileges.
Hunt logs for unusual index-creation requests and unexpected DDL or DML activity.
Confirm vendor remediation after deployment without using destructive injection tests.
Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.
Potential ATT&CK relevance
Conservative CVE-to-ATT&CK context
These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.
ATT&CK lookup starting points
Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.
cwe · medium confidence lookup
CWE-89: Database access and collection lookup
Injection into data stores can inform collection, data access, and exfiltration detection reviews. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.
The CVE wording references database injection or access, so collection and exfiltration review may help. This is a Glexia inferred lookup path, not an official MITRE, ATT&CK, or CVE Program mapping.
These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.
2CVSS vectors
3Timeline events
1ADP providers
3Source links
SSVC decision data
CISA-ADPCISA Coordinator
Timestamp
Version
2.0.3
Exploitation: pocAutomatable: yesTechnical Impact: total
CVSS vector scores
2 official scores
We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.
CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.
CWE-89 · source CWE mapping
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.