PoC for CVE-2026-118286 — Azure Site Recovery Cross-Vault Access Control (CVSS 9.1)
<p align="center"><img src="https://capsule-render.vercel.app/api?type=waving&color=0:0d1117,100:e94560&height=200§ion=header&text=CVE-2026-118286&fontSize=44&fontColor=ffffff&fontAlignY=38&desc=Azure%20Site%20Recovery%20%E2%80%94%20Improper%20Access%20Control%20(CVSS%209.1)&descAlignY=58&descSize=14" /></p>
<p align="center">
<img src="https://img.shields.io/badge/CVE-2026--118286-critical?style=for-the-badge&color=e94560" />
<img src="https://img.shields.io/badge/CVSS-9.1-critical?style=for-the-badge&color=ff0000" />
<img src="https://img.shields.io/badge/CWE-284-orange?style=for-the-badge" />
<img src="https://img.shields.io/badge/Azure%20Site%20Recovery-cloud-blue?style=for-the-badge&logo=microsoftazure" />
</p>
## Overview
**CVE-2026-118286** — CVSS 9.1 CRITICAL improper access control in Azure Site Recovery. A user with Reader access to one recovery vault can enumerate replication-protected items from other vaults in the same subscription due to missing vault-boundary scope validation.
## Attack Flow
```mermaid
flowchart TD
A[Low-priv user: Reader on Vault A] -->|GET /vaults/VaultB/replicationProtectedItems| B[ASR API — sub validated, vault NOT]
B -->|CWE-284: vault boundary ignored| C[Protected item list from Vault B]
C --> D[Enumerate all replicated VMs across vaults]
C --> E[Discover replication topology and failover targets]
```
## Usage
```bash
python3 poc.py --sub-id "00000000-..." --rg "dr-rg" --victim-vault "prod-vault" --bearer "eyJ..."
```
## References
- [NVD CVE-2026-118286](https://nvd.nist.gov/vuln/detail/CVE-2026-118286)
- [CWE-284](https://cwe.mitre.org/data/definitions/284.html)
<p align="center"><img src="https://capsule-render.vercel.app/api?type=waving&color=0:e94560,60:3d0015,100:0d1117&height=120§ion=footer" /></p>
<p align="center"><sub>cveForge — Security Research & Proof of Concept Repository</sub></p>