Windows SMB Server Elevation of Privilege Vulnerability (CVE-2025-58726)
The Windows SMB Server has improper access control that lets an authorised attacker coerce a victim machine into authenticating to an attacker-controlled SMB server. A successful exploit could give the attacker SYSTEM privileges on the victim.
Description
Improper access control in Windows SMB Server allows an authorized attacker to elevate privileges over a network.
FAQ
How could an attacker exploit the vulnerability? To exploit this vulnerability, an attacker could execute a specially crafted script to coerce the victim machine to connect back to the attacker’s SMB Server using SMB and authenticate. This could result in elevation of privilege.
FAQ
What privileges could be gained by an attacker who successfully exploited this vulnerability? An attacker who successfully exploited this vulnerability could gain SYSTEM privileges.
FAQ
According to the CVSS metric, the attack complexity is high (AC:H). What does that mean for this vulnerability? The Attack requires an Service Principal Name (SPN) that is registered to an account that no longer exists or is not in use, to be on the target machine.
Windows SMB Server
Windows SMB Server
Microsoft
Microsoft
Customer Action Required
Yes
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely improper access control in how the Windows SMB Server handles authentication when a machine is coerced into connecting to an SMB server, combined with a stale or unused Service Principal Name on the target.
Impact
An attacker who successfully exploits this could gain SYSTEM privileges on the victim machine, though the attack complexity is high because it requires a stale or unused SPN on the target.
What the attacker needed
Authorised attacker on the network; stale or unused SPN on target; attacker-controlled SMB server
The fix
Microsoft requires a customer action to address the vulnerability, but the text does not describe the specific fix.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
SMB is the file-sharing protocol Windows uses to talk to other machines. Here, a flaw lets someone trick a Windows computer into logging in to a server the attacker controls, and that login can be abused to gain the highest level of access on the victim. The attacker needs a special account name (an SPN) that is registered but no longer used on the target.
What is Access control?
A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.