CVE-2025-3224

Elevation of Privilege in Docker Desktop for Windows during Upgrade due to Insecure Directory Deletion

State
Published
Severity
7.3 High
Published
Apr 28, 2025
Updated
Apr 28, 2025
Reserved
Apr 3, 2025

Read the record on cve.org

Description

A vulnerability in the update process of Docker Desktop for Windows versions prior to 4.41.0 could allow a local, low-privileged attacker to escalate privileges to SYSTEM. During an update, Docker Desktop attempts to delete files and subdirectories under the path C:\ProgramData\Docker\config with high privileges. However, this directory often does not exist by default, and C:\ProgramData\ allows normal users to create new directories. By creating a malicious Docker\config folder structure at this location, an attacker can force the privileged update process to delete or manipulate arbitrary system files, leading to Elevation of Privilege.

Scores

CVSSScoreVectorSource
4.07.3 HighCVSS:4.0/AV:L/AC:H/AT:P/PR:L/UI:A/VC:H/VI:H/VA:H/SC:H/SI:H/SA:HDocker

Weaknesses

  • CWE-269 Improper Privilege Management
  • CWE-59 Improper Link Resolution Before File Access ('Link Following')

Affected Products

ProductVersions
Docker DesktopDocker
  • before 4.41.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.