← Lab /Security & privacy

Two storvsp.sys access-control bugs let low-privileged users write files as SYSTEM

Chaining CVE-2025-59517 and CVE-2025-64673 in the Windows storvsp.sys driver enables a local low-privileged user to write arbitrary files as SYSTEM and obtain a SYSTEM shell.

Security & privacy Exodus Intelligence 27 Jul 2026 Attack Prototype evidence

Published as “From Virtual Share to Physical Shell: Leveraging Windows’ Inconsistent Access Control for LPE”

Why it matters

The work demonstrates that improper access control in storvsp.sys can be leveraged for local privilege escalation, prompting a Microsoft patch.

Summary

The researchers reverse-engineered the storvsp.sys driver and identified two access-control flaws (CVE-2025-59517 and CVE-2025-64673) that bypass NTFS ACL checks. By creating a vSMB share handle with only read access they avoid write-access checks, then use a crafted IOCTL to rename a malicious DLL into C:\Windows\System32. Loading the DLL via a COM interface runs it as SYSTEM, enabling a command shell. The chain works on Windows 11 23H2 but is blocked by the December 2025 patches.

What they found 1

  1. If the share handle lacks write access, the driver skips impersonation and performs file operations with SYSTEM privileges.

    “If the share handle was opened with write permissions, the function impersonates the calling thread before performing the operation. Otherwise, impersonation is skipped and the operation executes with SYSTEM privileges.”

Caveats 6

  • it remains possible that the actual CVE-to-function assignment differs from what is presented here.
  • The patched driver now enforces OBJ_FORCE_ACCESS_CHECK and adds VspVsmbIsUserTrusted, breaking the exploit chain.
  • Attribution of CVEs to specific functions may be incorrect.
  • Source code for storvsp.sys is not available, structures are inferred.
  • The exploit requires the Virtual Machine Platform feature to be enabled.
  • Successful exploitation depends on a specific COM interface (IWaaSRemediation).

What’s new here 4

  • Identifies two new access-control bugs in the storvsp.sys driver (CVE-2025-59517, CVE-2025-64673).
  • Shows how missing OBJ_FORCE_ACCESS_CHECK flag lets the driver bypass ACLs.
  • Chains the bugs to obtain a SYSTEM shell via a vSMB share and the IWaaSRemediation COM interface.
  • Provides PoC code and details of the Microsoft patch that mitigates the issue.