# CVE-2026-82526: R2R 3.6.6 SQL Injection via Vector Index Creation Endpoint

Status: published. Published: 2026-09-03. Updated: 2026-11-08.

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.

## Remediation

No remediation reported in collected sources

## Affected products and versions

- SciPhi-AI / R2R (SciPhi-AI/R2R): ≥ 0; ≤ 3.6.6 (affected, semver); ≥ 0; ≤ 9c5a94d151f90876bd7eb860f300a8fd662dc481 (affected, git). Source: CNA: VulnCheck

## Severity and prioritization

- CVSS 4.0: 9.3 (critical); 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; source: CNA: VulnCheck

- CVSS 3.1: 9.8 (critical); CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; source: CNA: VulnCheck

- CISA KEV: No listing in collected sources

- EPSS: 0.71% as of 2026-11-08; percentile 53.66%

- SSVC: exploitation poc; automatable yes; technical impact total; source ADP: CISA-ADP

- Weaknesses: CWE-89

## Exploit evidence

- exploit: https://github.com/SciPhi-AI/R2R/issues/2309 (CNA: VulnCheck)

## References

- https://github.com/SciPhi-AI/R2R/issues/2309 (CNA: VulnCheck; technical-description, exploit, issue-tracking)

- https://www.vulncheck.com/advisories/r2r-sql-injection-via-vector-index-creation-endpoint (CNA: VulnCheck; third-party-advisory)

## Provenance

- CNA: VulnCheck: https://www.cve.org/CVERecord?id=CVE-2026-82526; retrieved 2026-11-08; source updated 2026-11-08

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-82526; retrieved 2026-11-08; source updated Not reported

Revision: 7411b94f55ae23dddfee09c1b1a75cbbe8c8e91a1f34261ae371e989ac678000

Canonical: https://y2.dev/cve/CVE-2026-82526

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.