PoC for CVE-2026-69899 — Azure DevTest Labs Auth Bypass Spoofing (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-69899&fontSize=48&fontColor=ffffff&fontAlignY=38&desc=Azure%20DevTest%20Labs%20%E2%80%94%20Auth%20Bypass%20Spoofing%20(CVSS%209.1)&descAlignY=58&descSize=15" /></p>
<p align="center">
<img src="https://img.shields.io/badge/CVE-2026--69899-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-290-orange?style=for-the-badge" />
<img src="https://img.shields.io/badge/Azure%20DevTest%20Labs-cloud-blue?style=for-the-badge&logo=microsoftazure" />
</p>
## Overview
**CVE-2026-69899** — CVSS 9.1 CRITICAL authentication bypass via spoofing in Azure DevTest Labs. When a lab has "shared environment" mode enabled, the `X-Lab-Principal` header overrides ARM RBAC validation, allowing an attacker to claim any lab principal identity and enumerate/delete lab VMs and artifacts.
## Attack Flow
```mermaid
flowchart TD
A[Attacker] -->|GET /virtualmachines X-Lab-Principal: admin@lab| B[DTL API — shared env mode]
B -->|principal header accepted without ARM validation| C[Auth Bypass — CWE-290]
C --> D[List all lab VMs]
C --> E[Delete / stop VMs]
C --> F[Exfiltrate lab artifacts and secrets]
```
## Usage
```bash
python3 poc.py --sub-id "00000000-..." --rg "my-rg" --lab "my-lab"
```
## References
- [NVD CVE-2026-69899](https://nvd.nist.gov/vuln/detail/CVE-2026-69899)
- [CWE-290](https://cwe.mitre.org/data/definitions/290.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>