CVE-2025-4095 Missing authorization in Docker Desktop
Docker Desktop fails to enforce Registry Access Management policies when sign-in is enforced via macOS configuration profiles, allowing users to pull unapproved images.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-4095?
CVE-2025-4095 is a medium-severity missing authorization vulnerability in Docker Desktop, published on 29 Apr 2025. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
Registry Access Management (RAM) is a security feature allowing administrators to restrict access for their developers to only allowed registries. When a MacOS configuration profile is used to enforce organization sign-in, the RAM policies are not being applied, which would allow Docker Desktop users to pull down unapproved, and potentially malicious images from any registry.
Weakness: CWE-862
Which versions are affected by CVE-2025-4095?
How do I fix CVE-2025-4095?
No fix has been published for CVE-2025-4095 yet. Limit exposure of the affected software until one is available.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2025-4095 being exploited?
There is no known exploitation of CVE-2025-4095 in the wild and no public exploit code.
Sources
Also known as GHSA-2h62-wf4g-8rpr.