Microsoft Clarity IDOR — Cross-Project Session Recording Access (CVE-2026-113824)
Published: 2026-11-25 • Researcher: cveForge (PoC); Microsoft / MSRC (vendor advisory)
- Severity
- Critical
- CVE
- CVE-2026-113824
- Category
- web
- Affected product
- Microsoft Clarity (clarity.microsoft.com analytics service and its projects/recordings API)
- Affected versions
- Cloud-hosted service; NVD publishes no CPE or version ranges. The upstream repo states the API was affected before the 2026-11-19 patch. See references.
- Disclosed
- 2026-11-25
- Patch status
- Unverified
Tags
References
Archive entry
intelseclab/poc-archiveOn this page
Metadata
| Field | Value |
|---|---|
| Date Added | 2026-11-25 |
| Last Updated | 2026-11-24 |
| Author / Researcher | cveForge (PoC); Microsoft / MSRC (vendor advisory) |
| CVE / Advisory | CVE-2026-113824 |
| Category | web |
| Severity | Critical |
| CVSS Score | 9.1 — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| Status | PoC |
| Tags | IDOR, CWE-639, authorization-bypass, Microsoft-Clarity, analytics, session-recordings, PII-exposure, API, bearer-token, Python |
| Related | N/A |
Affected Target
| Field | Value |
|---|---|
| Software / System | Microsoft Clarity (clarity.microsoft.com analytics service and its projects/recordings API) |
| Versions Affected | Cloud-hosted service; NVD publishes no CPE or version ranges. The upstream repo states the API was affected before the 2026-11-19 patch. See references. |
| Language / Platform | Service-side HTTPS/JSON web API; PoC written in Python 3 using the standard library only |
| Authentication Required | Yes — any authenticated Clarity account bearer token (low privilege); the vendor CVSS vector marks PR:N |
| Network Access Required | Yes |
Summary
Microsoft Clarity records session replays, heatmaps and click data for web projects. A CWE-639 authorization bypass in the recordings API makes the numeric projectId path parameter the only access-control check, so any caller holding a valid Clarity session token can read recordings and behavior analytics belonging to projects the caller does not belong to. The included Python PoC takes a bearer token plus a project ID, requests another project’s recordings and can optionally walk a range of adjacent project IDs, leaking visitor behavior and potentially PII. Microsoft rates the flaw 9.1 Critical with high confidentiality and integrity impact and no availability impact.
Vulnerability Details
Root Cause
The recordings endpoint at /api/v1/projects/{projectId}/recordings derives the target tenant object from a user-controlled key (the numeric project ID in the URL path) and performs no object-level authorization check confirming that the authenticated caller is a member of that project. This is CWE-639, authorization bypass through user-controlled key: the ID is trusted as evidence of ownership. Because project IDs are small sequential integers, they are trivially guessable and enumerable.
Attack Vector
A low-privileged Clarity user sends an authenticated HTTPS GET request with a Bearer token to /api/v1/projects/VICTIM_ID/recordings?take=5&skip=0, substituting another project’s numeric ID. Repeating the request over a range of project IDs enumerates victim projects. No user interaction on the victim side is required and nothing is written to the victim project.
Impact
Unauthorized read access to cross-project session recordings, heatmaps and click data, including captured user behavior that may contain personal data (form entries, navigation, page content). This is a cross-tenant privacy breach and gives an attacker reconnaissance-grade insight into another organization’s users and site behavior. Integrity impact is scored high (H) by the vendor even though the PoC only reads; availability impact is none.
Environment / Lab Setup
OS: Any (client-side script); Python 3.8+
Target: Microsoft Clarity cloud API (https://clarity.microsoft.com/api/v1/projects)
SaaS only — there is no self-hosted Clarity target to stand up
Attacker: A free or low-privilege Clarity account plus its bearer token
Tools: Python 3 (stdlib urllib), curl, browser DevTools for token captureSetup Steps
| |
Proof of Concept
Step-by-Step Reproduction
- Prepare two projects — Create project A and project B under accounts you control; record project B’s numeric ID from its Clarity URL or settings page.
- Capture a token for A — In Clarity’s web UI, open DevTools and copy the Bearer token from a /api/v1 request made by account A.
- Request B’s recordings as A — Run
python3 poc.py --bearer "$CLARITY_TOKEN" --project-id "$VICTIM_PID". A 200 response containing recordings data confirms cross-project access. - Enumerate adjacent IDs — Add
--range 1000to walk projectId+1 through projectId+N, which surfaces other tenants whose projects were created in the same ID block. - Clean up — Revoke the test token and delete the throwaway projects; do not retain any data returned for projects you do not own.
Exploit Code
See
poc.pyin this folder; upstream README is preserved asupstream-README.md.
| |
Expected Output
| |
The script’s own heuristic is a 200 status whose body contains recordings, so validate manually that the returned records belong to the other project.
Detection & Indicators of Compromise
- A single Clarity bearer token issuing sequential GETs to /api/v1/projects/
/recordings with take=5&skip=0 across many project IDs in a short window. - 200 responses for project IDs that are not linked to the token’s account or organization.
- Token use from an unfamiliar IP/ASN or automation user agent, especially at rates far above normal dashboard traffic.
- Repeated paging (skip increments) over a project the caller has no membership in.
- Downstream: 403/429 bursts interleaved with 200s, indicating blind enumeration of an ID range.
Example log / detection pattern:
| |
Remediation
| Action | Detail |
|---|---|
| Patch | Service-side fix from Microsoft; track the MSRC update guide for CVE-2026-113824. The upstream repo notes the API was affected before the 2026-11-19 patch — verify current status against MSRC, since this is a hosted service with no customer patch. |
| Workaround | No customer-side fix exists for the service itself. Revoke and rotate Clarity access tokens, remove dormant users, and treat recordings/heatmaps as sensitive data while exposure is possible. |
| Config Hardening | Require server-side per-object authorization (verify caller membership for every projectId), scope tokens per project, rate-limit and alert on cross-project enumeration, and keep token lifetimes short. |
References
Notes
Auto-ingested from https://github.com/cveForge/CVE-2026-113824 on 2026-11-25. Review verdict: a real IDOR exploit (oracle-style script), not a detector or scanner — it performs the unauthorized cross-project read itself and reports the returned recordings.
Limitations: the PoC requires a valid authenticated Clarity bearer token and a live, Microsoft-hosted service, so there is no local lab and no deterministic reproduction; it fetches only 5 recordings and the first 2048 bytes per project, making it a proof of access rather than a bulk exfiltration tool. Its “VULNERABLE” heuristic is coarse (HTTP 200 plus the word recordings) and should be confirmed manually against a project you own. Note the scoring discrepancy: the vendor CVSS vector says PR:N, while the PoC needs a low-privileged account token.
License status: the repository has no LICENSE file, so the code is archived with attribution for authorized security research only. The exploit was not executed during ingestion, and no secret or .git content was copied.
| |