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

Docker Desktop Docker Plugins Uncontrolled Search Path Element Local Privilege Escalation Vulnerability

Docker Desktop handled the plugins directory path in a way that let it run a program from an unsecured location. A local attacker who could already run low-privileged code could use this to escalate privileges and execute arbitrary code as the target user.

Nitesh Surana Follow

Originally disclosed on Zero Day Initiative

High 7.8 View original

This vulnerability allows local attackers to escalate privileges on affected installations of Docker Desktop. An attacker must first obtain the ability to execute low-privileged code on the target system in order to exploit this vulnerability.

Nitesh Surana (niteshsurana.com) 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 plugins directory path was resolved to a location writable by low-privileged users, so a planted executable was loaded and run with elevated rights.

Impact

A local attacker with low-privileged code execution could escalate privileges and run arbitrary code in the context of the target user.

What the attacker needed

Local access to the machine; ability to run low-privileged code

The fix

Docker issued an update to correct the vulnerability.

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.

Some programs load extra pieces called plugins from a folder on disk. If that folder can be written to by a normal user, they can drop in their own program and the app will run it with higher rights. Here Docker Desktop looked in a folder that was not properly protected, so a user with limited access could get more power on the machine.

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

2 more disclosed reports, 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.