CVE-2025-59514 — Microsoft Streaming Service Proxy Elevation of Privilege Vulnerability
Executive Summary
Improper privilege management in Microsoft Streaming Service allows an authorized attacker to elevate privileges locally.
Overview
CVSS Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C
EPSS Score
Affected Products
| Product | KB Article | Severity | Impact | Restart Required |
|---|---|---|---|---|
| Windows 10 Version 1607 for 32-bit Systems | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1607 for x64-based Systems | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for 32-bit Systems | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 1809 for x64-based Systems | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for 32-bit Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for ARM64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 21H2 for x64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for 32-bit Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for ARM64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 10 Version 22H2 for x64-based Systems | 5068781 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for ARM64-based Systems | 5068865 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 23H2 for x64-based Systems | 5068865 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows 11 Version 24H2 for ARM64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.7171 10.0.26100.7092 Yes None Windows 11 Version 24H2 for x64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26100.7171 10.0.26100.7092 Yes None Windows 11 Version 25H2 for ARM64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.7171 10.0.26200.7092 Yes None Windows 11 Version 25H2 for x64-based Systems 5068861 (Security Update) 5068966 (Security Hotpatch Update) Important Elevation of Privilege 5066835 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.26200.7171 10.0.26200.7092 Yes None Windows Server 2008 for 32-bit Systems Service Pack 2 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for 32-bit Systems Service Pack 2 (Server Core installation) 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for x64-based Systems Service Pack 2 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 for x64-based Systems Service Pack 2 (Server Core installation) 5068906 (Monthly Rollup) 5068909 (Security Only) Important Elevation of Privilege 5066874 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.0.6003.23624 Yes None Windows Server 2008 R2 for x64-based Systems Service Pack 1 5068904 (Monthly Rollup) 5068908 (Security Only) Important Elevation of Privilege 5066872 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.28021 Yes None Windows Server 2008 R2 for x64-based Systems Service Pack 1 (Server Core installation) 5068904 (Monthly Rollup) 5068908 (Security Only) Important Elevation of Privilege 5066872 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 6.1.7601.28021 Yes None Windows Server 2012 | 5068907 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 (Server Core installation) | 5068907 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 | 5068905 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2012 R2 (Server Core installation) | 5068905 (Monthly Rollup) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2016 (Server Core installation) | 5068864 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2019 (Server Core installation) | 5068791 (Security Update) |
Important | Elevation of Privilege | Yes |
| Windows Server 2022 5068787 (Security Update) 5068840 (Security Hotpatch Update) Important Elevation of Privilege 5066782 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.20348.4405 10.0.20348.4346 Yes None Windows Server 2022 (Server Core installation) 5068787 (Security Update) 5068840 (Security Hotpatch Update) Important Elevation of Privilege 5066782 Base: 7.8 Temporal: 6.8 Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C 10.0.20348.4405 10.0.20348.4346 Yes None Windows Server 2022, 23H2 Edition (Server Core installation) | 5068779 (Security Update) |
Important | Elevation of Privilege | Yes |
Patches
| Article | Type | Restart |
|---|---|---|
5068864 |
Security Update | Yes |
5068791 |
Security Update | Yes |
5068781 |
Security Update | Yes |
5068865 |
Security Update | Yes |
5068907 |
Monthly Rollup | Yes |
5068905 |
Monthly Rollup | Yes |
5068779 |
Security Update | Yes |
Patch Diff
Registry-symlink local EoP (CWE-269/CWE-285) in the Microsoft Kernel Streaming service driver mskssrv.sys ('Microsoft Streaming Service Proxy'). A KSPROPERTY_SERVICE_BUILDCACHE request invokes PropertySrv -> UpdateMediumCache, which walks a device's pins and, for non-standard Medium types, caches data under HKLM\SYSTEM\CurrentControlSet\Control\MediumCache. It creates those keys with ZwCreateKey WITHOUT OBJ_FORCE_ACCESS_CHECK, so the create runs with the driver's SYSTEM authority and does not check the caller. A standard user (who has create-subkey rights under MediumCache) creates a subkey they own, plants a registry symbolic link, and the SYSTEM driver follows it to create/modify the default value of an arbitrary HKLM key -> EoP. Requires a device with custom Medium pins (excluding KSMEDIUMSETID_Standard). IN-HOUSE ghidriff of mskssrv.sys 10.0.26100.7019 -> .7171 (Nov 11 2025) confirms the fix: UpdateMediumCachePassive / UpdateMediumCachePassive_Do (the Medium-cache registry path) are reworked, gated behind CFR flag Feature_3602159931 (expected change: add OBJ_FORCE_ACCESS_CHECK to the ZwCreateKey object attributes). Credit: t0zhang.
| Function | Address | Change | Note |
|---|---|---|---|
UpdateMediumCachePassive_Do |
code change |
code (access-check on registry create, CFR-gated) | Worker that creates the Medium-cache HKLM keys. Pre: ZwCreateKey without OBJ_FORCE_ACCESS_CHECK, so a user-planted registry symlink under MediumCache is followed with SYSTEM authority. Post (Feature_3602159931 enabled): access-checked / non-symlink-followable create. |
UpdateMediumCachePassive |
code change |
code (caller of the fixed worker) | Reworked alongside UpdateMediumCachePassive_Do under the same flag. |
Feature_3602159931 |
new flag |
added (CFR gate) | New Controlled Feature Rollout flag introduced by this patch, gating the MediumCache access-check fix. Both branches ship in .7171. |
Root Cause Analysis
CVE-2025-59514 — Microsoft Streaming Service Proxy mskssrv.sys Registry-Symlink EoP via Missing OBJ_FORCE_ACCESS_CHECK in UpdateMediumCache
Summary
| Product | Microsoft Windows — mskssrv.sys (Microsoft Kernel Streaming / KS Service, “Streaming Service Proxy”) |
| CVE ID | CVE-2025-59514 |
| Impact | Elevation of Privilege |
| MSRC severity | Important |
| CWE | CWE-269: Improper Privilege Management (MSRC) / CWE-285: Improper Authorization |
| CVSS | 7.8 — CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Patch Date | November 11, 2025 |
| Pre-patch binary | mskssrv.sys 10.0.26100.7019 (Oct 2025) — SHA256 7763ca15ee9b4480f4abff6dc44d17932b8b0dc59757d1bb434614e6355b8d1f |
| Post-patch binary | mskssrv.sys 10.0.26100.7171 (Nov 11 2025 fix) — SHA256 85b6bc83bd4090877b886bd64fe6dbc1fc2a8fc6c71c299439dfc4f079b8b2a8 |
| Feature flag | Feature_3602159931 — the fix is CFR-gated |
Product Description
mskssrv.sys is the Microsoft Kernel Streaming (KS) service driver — it manages
registry information for KS devices, caching FilterData and Medium
information and servicing KS property requests. It runs in kernel (SYSTEM), and
its property surface is reachable by an ordinary local user, so an
authorization flaw in its registry handling is a local EoP.
Vulnerability Summary
Sending a KSPROPERTY_SERVICE_BUILDCACHE request invokes PropertySrv →
UpdateMediumCache, which walks a device’s pins collecting Medium type
information. For non-standard Medium types it caches the data under
HKLM\SYSTEM\CurrentControlSet\Control\MediumCache. The flaw: it creates those
keys with ZwCreateKey but without OBJ_FORCE_ACCESS_CHECK, so the kernel
does not evaluate the calling user’s access against the target — it creates in
the current-user context but with the driver’s (SYSTEM) authority.
Because a standard user has “create subkey” rights under MediumCache, they own
the subkey they create and can place a registry symbolic link there. The
SYSTEM driver, following the symlink without an access check, then creates or
modifies the default value of an arbitrary HKLM key — a registry write
primitive that yields EoP.
Prerequisites and Constraints
- Local, low-privileged (
PR:L). - There is a hardware condition: the device must support custom
Medium pins (not
KSMEDIUMSETID_Standard) — typically professional / special-purpose hardware that excludes the standard medium set. This gates the non-standard-Medium caching path that reachesZwCreateKey. - Result is an attacker-directed
HKLMkey/value create via a registry symlink, from a standard user, executed with SYSTEM authority.
Vulnerability Details
Call Chain
Local user:
DeviceIoControl(KS property, KSPROPERTY_SERVICE_BUILDCACHE)
-> mskssrv!PropertySrv -> UpdateMediumCache (-> UpdateMediumCachePassive[_Do])
for non-standard Medium types:
ZwCreateKey(HKLM\...\MediumCache\<attacker subkey>) // *** no OBJ_FORCE_ACCESS_CHECK ***
-> follows attacker registry symlink -> arbitrary HKLM write
Root Cause
ZwCreateKey is called without OBJ_FORCE_ACCESS_CHECK, so the create is
performed with the driver’s privilege rather than the caller’s, and no check
prevents following a user-planted registry symbolic link out of the writable
MediumCache subtree into a protected HKLM location (CWE-269/CWE-285). This is
the same missing-OBJ_FORCE_ACCESS_CHECK pattern behind other Windows
symlink/redirection EoPs.
The patch (confirmed — diff, .7019 → .7171)
The November build reworks the Medium-cache registry path (UpdateMediumCachePassive
/ UpdateMediumCachePassive_Do) so the create is access-checked / not
symlink-followable when invoked on behalf of an unprivileged caller, gated behind
Feature_3602159931 (the expected concrete change being the addition of
OBJ_FORCE_ACCESS_CHECK to the object attributes for the ZwCreateKey call).
With the flag disabled the original path still ships.
Patch Completeness Assessment
CFR-gated behind Feature_3602159931 — the corrected path runs only when the
flag is enabled; patch state is not determined by file version alone, consistent
with the runtime-gated pattern across this corpus.
Detection Guidance
Behavioural. A standard user issuing KS KSPROPERTY_SERVICE_BUILDCACHE and
creating subkeys / registry symbolic links under
HKLM\SYSTEM\CurrentControlSet\Control\MediumCache, followed by SYSTEM writes to
unexpected HKLM locations.
Registry. Creation of registry symlinks (REG_OPTION_CREATE_LINK) under
MediumCache; new/modified default values in protected HKLM keys attributable
to the KS service. Auditing on MediumCache and sensitive target keys.
Config. Fix is CFR-gated — confirm Feature_3602159931 is enabled.
References
Vulnerability* (t0zhang), CVE-2025-59514.
- MSRC advisory — CVE-2025-59514 (Microsoft Streaming Service Proxy EoP)
- Full binary diff:
/data/patch_diffs/mskssrv_sys-cve-2025-59514-ghidriff.md - Related pattern: OBJ_FORCE_ACCESS_CHECK / registry-symlink EoPs (CVE-2025-59512, CVE-2025-59511)
Attack Path
A KS Medium-cache registry create without OBJ_FORCE_ACCESS_CHECK follows a user symlink to write arbitrary HKLM keys as SYSTEM
Derived from the patch delta: the checks added by the vendor identify which fields crossed a trust boundary unvalidated. Reachability and privilege are taken from the call chain in the RCA report.