PatchaPalooza

CVE-2025-49734: PowerShell Direct Elevation of Privilege Vulnerability

CVE-2025-49734 is an elevation of privilege vulnerability in PowerShell Direct, rated Important by Microsoft, with a CVSS 3.1 base score of 7 (High). An attacker can exploit it by an attacker with local access, with low privileges and without user interaction. Microsoft has not reported exploitation in the wild and rates exploitation as less likely. The EPSS model estimates a 0.33% probability of exploitation activity in the next 30 days, higher than 28% of all scored vulnerabilities. Microsoft released the fix on 9 September 2025 in the September 2025 Patch Tuesday, delivered through 9 security updates (KB5065428, KB5065432, KB5065306, KB5065429 and more). It affects 27 products in 3 product families (Windows, ESU, Developer Tools).

Key facts

CVE ID
CVE-2025-49734
Severity
High CVSS 7
Microsoft severity
Important
Impact
Elevation of Privilege
Exploited in the wild
No
Publicly disclosed
No
Exploitation likelihood
Less Likely
Weakness
CWE-923
EPSS
0.33% (percentile 28%)
CISA KEV
Not listed
Released
Last updated
Patch Tuesday
September 2025 Patch Tuesday
Product families
Windows, ESU, Developer Tools

CVSS score and vector

Microsoft scores CVE-2025-49734 at 7 (temporal 6.1) using CVSS 3.1. Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C

MetricValue
Attack vectorLocal
Attack complexityHigh
Privileges requiredLow
User interactionNone
ScopeUnchanged
Confidentiality impactHigh
Integrity impactHigh
Availability impactHigh
Exploit code maturityUnproven
Remediation levelOfficial fix
Report confidenceConfirmed

Description

Improper restriction of communication channel to intended endpoints in Windows PowerShell allows an authorized attacker to elevate privileges locally.

Frequently asked questions (Microsoft)

What privileges could be gained by an attacker who successfully exploited the vulnerability?

The attacker, initially a non-admin user on the host, could hijack the PowerShell Direct session intended for communication between the admin user on host and a guest VM. This unauthorized access enables the attacker to impersonate the admin host user in communications with the guest, potentially manipulating or controlling guest-side operations.

According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability?

Successful exploitation of this vulnerability requires an attacker to win a race condition.

Why am I getting login failure events on my unpatched guest VM?

To ensure compatibility with unpatched guests, the new client attempts a login. This will produce an event in the Security Event log with event id 4625. The username will be ?‹PSDirectVMLegacy> and the domain will be 䕖卒佉N.

This event should stop when you patch your guest.

Note: The ?‹PSDirectVMLegacy> and 䕖卒佉N text is verbatim - this is what the user sees.

Where can I find information about additional mitigation steps?

There are edge case affecting hotpatched devices that have installed the September 2025 updates . These devices may experience failures with PowerShell Direct (PSDirect) connections when the host and guest virtual machines (VMs) are both not fully updated.

If your hotpatched device is experiencing issues with PSDirect connection, we recommend updating both the host and guest VM with these updates.

Additional information can be found in the Knowledge Base articles below.

KB Article

Product

5065306

Windows Server 2022 Hotpatch

5065426

Windows 11, version 24H2

5065432

Windows Server 2022

5065474

Windows Server 2025 Hotpatch

5066359

PowerShell

5066360

PowerShell

Affected products (27)

Windows

ProductSecurity updateTypeFixed buildRestart
Windows 10 Version 1809 for 32-bit SystemsKB5065428Security Update10.0.17763.7792Yes
Windows 10 Version 1809 for x64-based SystemsKB5065428Security Update10.0.17763.7792Yes
Windows Server 2019KB5065428Security Update10.0.17763.7792Yes
Windows Server 2019 (Server Core installation)KB5065428Security Update10.0.17763.7792Yes
Windows Server 2022KB5065432
KB5065306
Security Update
Security Hotpatch Update
10.0.20348.4171
10.0.20348.4106
Yes
Yes
Windows Server 2022 (Server Core installation)KB5065432
KB5065306
Security Update
Security Hotpatch Update
10.0.20348.4171
10.0.20348.4106
Yes
Yes
Windows 10 Version 21H2 for 32-bit SystemsKB5065429Security Update10.0.19044.6332Yes
Windows 10 Version 21H2 for ARM64-based SystemsKB5065429Security Update10.0.19044.6332Yes
Windows 10 Version 21H2 for x64-based SystemsKB5065429Security Update10.0.19044.6332Yes
Windows Server 2025 (Server Core installation)KB5065426
KB5065474
Security Update
SecurityHotpatchUpdate
10.0.26100.6584
10.0.26100.6508
Yes
Yes
Windows 11 Version 23H2 for ARM64-based Systems
Windows 11 Version 23H2 for x64-based Systems
Windows Server 2022, 23H2 Edition (Server Core installation)KB5065425Security Update10.0.25398.1849Yes
Windows 11 Version 24H2 for ARM64-based SystemsKB5065426Security Update10.0.26100.6584Yes
Windows 11 Version 24H2 for x64-based SystemsKB5065426
KB5065474
Security Update
SecurityHotpatchUpdate
10.0.26100.6584
10.0.26100.6508
Yes
Yes
Windows Server 2025KB5065426
KB5065474
Security Update
SecurityHotpatchUpdate
10.0.26100.6584
10.0.26100.6508
Yes
Yes
Windows 10 Version 1607 for 32-bit SystemsKB5065427Security Update10.0.14393.8422Yes
Windows 10 Version 1607 for x64-based SystemsKB5065427Security Update10.0.14393.8422Yes
Windows Server 2016KB5065427Security Update10.0.14393.8422Yes
Windows Server 2016 (Server Core installation)KB5065427Security Update10.0.14393.8422Yes

ESU

ProductSecurity updateTypeFixed buildRestart
Windows 11 Version 22H2 for ARM64-based SystemsKB5065431Security Update10.0.22621.5909Yes
Windows 11 Version 22H2 for x64-based SystemsKB5065431Security Update10.0.22621.5909Yes
Windows 10 Version 22H2 for x64-based Systems
Windows 10 Version 22H2 for ARM64-based Systems
Windows 10 Version 22H2 for 32-bit Systems

Developer Tools

ProductSecurity updateTypeFixed buildRestart
PowerShell 7.4Release NotesSecurity Update7.4.12Maybe
PowerShell 7.5

Security updates (9)

NIST NVD data

NVD status
Analyzed
NVD CVSS
7 (HIGH)
NVD weakness
CWE-923
Published to NVD
NVD last modified

Affected configurations (CPE)

ProductVulnerable versions
powershellfrom 7.4, before 7.4.12
powershellfrom 7.5, before 7.5.3
windows 10 1607 (x64)before 10.0.14393.8422
windows 10 1607 (x86)before 10.0.14393.8422
windows 10 1809 (x64)before 10.0.17763.7792
windows 10 1809 (x86)before 10.0.17763.7792
windows 10 21h2before 10.0.19044.6332
windows 10 22h2before 10.0.19045.6332
windows 11 22h2before 10.0.22621.5909
windows 11 23h2before 10.0.22631.5909
windows 11 24h2before 10.0.26100.6508
windows server 2016before 10.0.14393.8422
windows server 2019before 10.0.17763.7792
windows server 2022before 10.0.20348.4106
windows server 2022 23h2before 10.0.25398.1849
windows server 2025before 10.0.26100.6508

References

Acknowledgments

  • QWangWang

Revision history

VersionDateDescription
1.0Information published.
2.0Revised the Security Updates table to include PowerShell 7.4 and PowerShell 7.5 because these versions of PowerShell 7 are affected by this vulnerability. See https://github.com/PowerShell/Announcements/issues/78 for more information.

Sources