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

- Severity: Critical 9.3 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.40%, higher than 36% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-09-03T18:12:48.982Z
- Modified: 2026-11-08T14:09:12.787Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- SciPhi-AI R2R: up to 3.6.6; up to 9c5a94d151f90876bd7eb860f300a8fd662dc481

## Every score

- VulnCheck: 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`
- 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`

## References

- <https://github.com/SciPhi-AI/R2R/issues/2309> (exploit, issue-tracking, technical-description)
- <https://www.vulncheck.com/advisories/r2r-sql-injection-via-vector-index-creation-endpoint> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-82526](https://www.cve.org/CVERecord?id=CVE-2026-82526), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-82526](https://nvd.nist.gov/vuln/detail/CVE-2026-82526), Public domain, modified 2026-09-08

---

Page: https://cve.day/CVE-2026-82526 · Whole record: https://cve.day/CVE-2026-82526.json · Rebuilt by cve.day 2026-11-25T22:59:36.219Z
