Skip to content
Access control Advisory Intermediate CVE-2025-14740

Docker Desktop for Windows Incorrect Permission Assignment Privilege Escalation Vulnerability

The Docker Desktop for Windows installer assigns incorrect permissions to a folder, allowing a local attacker to escalate privileges. An attacker can execute arbitrary code in the context of a target user, but administrator interaction is required.

Nitesh Surana Follow

Originally disclosed on Zero Day Initiative

Medium 6.7 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Docker Desktop for Windows. User interaction on the part of an administrator is required to exploit this vulnerability.

Nitesh Surana (niteshsurana.com) and Amol Dosanjh of Trend Research, on the Zero Day Initiative

The full write-up lives on its author's site

It belongs to its author, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.

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, the installer assigns overly permissive access rights to a folder, allowing a local user to modify or replace files that are later executed by a higher-privileged user.

Impact

A local attacker could escalate privileges and execute arbitrary code as a target user, but administrator interaction is required.

What the attacker needed

Local access to the Windows machine; administrator performs an action

The fix

The vulnerability was fixed in version 4.57.0.

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.

This is a local privilege escalation bug in Docker Desktop for Windows. The installer sets up a folder with permissions that are too open, so a low-privileged user on the same machine can abuse it to run code as another user. However, an administrator must first perform some action for the attack to work.

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.

More by Nitesh Surana

View all

1 more disclosed report, best first.

More from Zero Day Initiative

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

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.