Docker vulnerabilities are weaknesses in Docker software, container runtimes, images or settings that let attackers steal data, change images or reach the host machine. They fall into two groups: software flaws tracked as Common Vulnerabilities and Exposures (CVEs), and unsafe choices such as old base images, root users or an exposed Docker socket. This guide lists recent CVEs in Docker Desktop, Docker Engine, Docker Hub and runc, then shows how to check and fix your own containers.
What Are Docker Vulnerabilities?
Docker vulnerabilities are security weaknesses anywhere in the path from a Dockerfile to a running container. A scanner report usually shows only one part of that path, so it helps to know all four sources.
- Image vulnerabilities: An image vulnerability is a known flaw or malicious file packaged inside a container image, including operating system packages and application libraries.
- Runtime vulnerabilities: A runtime vulnerability is a bug in the software that creates and isolates containers, such as runc or containerd, or in the Linux kernel they share.
- Docker software vulnerabilities: A Docker software vulnerability is a flaw in Docker Desktop, Docker Engine, BuildKit or Docker Hub itself.
- Configuration weaknesses: A configuration weakness is an unsafe setting, such as privileged mode, a mounted Docker socket or a password written into an image. No update removes it, so your team has to change the setting.

What Are the Latest Docker CVEs?
The latest Docker CVEs affect Docker Desktop, Docker Engine, Docker Hub and the runc runtime. The table shows a selection of notable records we checked on 1 December 2026, with the severity score from the Common Vulnerability Scoring System (CVSS) and the release that fixes each one. It is not a complete CVE list, so confirm your own versions against Docker’s security announcements and release notes.
| CVE | Component | What can happen | CVSS | Fixed in |
|---|---|---|---|---|
| CVE-2026-133304 | Docker Desktop | Networks could overlap the internal Desktop network | Not in NVD yet | Desktop 4.101.0 |
| CVE-2026-135124 | Docker Engine | A race in docker cp leaves a read only mount writable | 4.1 | Engine 29.10.1 |
| CVE-2026-119101 | runc | A crafted image mounts a host folder after a checkpoint restore | 7.9 (project score) | runc 1.3.7, 1.4.4 or 1.5.3 |
| CVE-2026-115538 | Docker Engine | Encrypted overlay traffic loses protection after a firewalld reload | 7.0 | Engine 29.9.3 |
| CVE-2026-112917 | Desktop on Windows with WSL 2 | A container reaches host services and Windows files | 9.2 | Desktop 4.98.0 with WSL 3.0.3 |
| CVE-2026-98432 | Linux kernel in Docker Desktop | A memory flaw in IPv4 TCP handling | 9.8 | Desktop 4.98.0 |
| CVE-2026-105445 | Docker Hub | An access token could be moved to another user | 9.4 | Fixed by Docker, 30 September 2026 |
| CVE-2026-92543 | Docker Engine | Crafted DNS answers switch off registry certificate checks | 7.6 | Engine 29.8.2 |
| CVE-2026-17106 | docker cp and archive extraction | A crafted archive writes outside the target folder | 7.1 | Desktop 4.86.0 |
The Docker Hub flaw needed no software update. Docker reported that it fixed the service the day it received the report, found no evidence of exploitation and emailed exposed users.
What Are the Most Common Docker Security Risks?
The most common Docker security risks are unsafe images and settings that give a container more access than it needs. Each risk below comes with its first fix.
- Outdated base images: An outdated base image is a starting layer that still carries flaws its publisher has since fixed. Rebuild from a current, supported version.
- Malicious images: A malicious image is a published image built to run an attacker’s code, such as a cryptocurrency miner. Pull from known publishers only. A 2020 Prevasio study of 4 million Docker Hub images found 51% with critical flaws and 6,433 that were malicious or potentially harmful. Treat those figures as history, not as the current rate.
- Root users: A root user inside a container is the all powerful account, which raises the damage of an escape. Set a
USERin the Dockerfile or run Docker in rootless mode. - Privileged containers: A privileged container is one started with
--privileged, which grants access to host devices and broad kernel powers. Drop all capabilities and add back only what the application needs. - Mounted Docker socket: A mounted Docker socket is access to
/var/run/docker.sock, which controls the Docker daemon and therefore the host. Remove the mount, because making it read only does not limit the commands sent through it. - Exposed Docker API: An exposed Docker API is a daemon listening on the network, often on port 2375, without authentication. Close that port, or require client certificates as Docker documents for port 2376.
- Missing resource limits: A missing resource limit is a container allowed to use all the memory and processing time the host offers. One fork bomb, a program that copies itself endlessly, can then stall the machine. Set memory, CPU and process limits.
What Are Dockerfile Vulnerabilities?
Dockerfile vulnerabilities are mistakes in the build instructions that put secrets, unsafe software or excess privilege into every image built from them. The classic example is a password or API token passed through ARG or ENV. Docker states that these values persist in the final image, so anyone who can pull it may read them. Use secret mounts or SSH mounts instead. Build steps are risky too: a RUN line that downloads and executes a script gives that remote server control of your build. Review Dockerfile changes like code, and keep untrusted pull requests away from build machines that hold credentials.
Why Do Nginx, Python and Caddy Docker Images Show Vulnerabilities?
Nginx, Python and Caddy Docker images show vulnerabilities mainly because each image contains more than the program in its name. Scanners also check the operating system packages and the libraries built into it. The Docker Official Images FAQ explains why findings remain: some have no fix yet, some distributions decline or delay a fix, and some reports are false positives, including fixes copied into older package versions. A finding matters most when your application can reach the vulnerable code. Pull the newest tag of your chosen release line, rebuild, then scan again. For what remains, check whether a fix exists, whether attackers are exploiting it and whether a slimmer image drops the package. Record every accepted risk with a review date.
What Is a Container Escape Vulnerability?
A container escape vulnerability is a flaw that lets code inside a container act on the host or on other containers. Containers share the host kernel, so isolation depends on the runtime, the kernel and your settings all holding.
runc Container Escape Vulnerabilities
The runc container escape vulnerabilities are bugs in the low level tool that Docker uses to start containers. CVE-2019-5736 let a malicious container overwrite the host runc program. CVE-2024-21626, one of the Leaky Vessels flaws, used a leaked file handle to reach the host file system. In November 2025 the project fixed three more escape paths: CVE-2025-31133, CVE-2025-52565 and CVE-2025-52881. The 2026 flaw in the table needs a checkpoint and restore operation. Run runc --version on each host, then compare the result with the project’s advisories. Linux distributions may fix a flaw without changing the upstream version number, so read their notices too.
Linux Kernel Container Escape Risks
Linux kernel flaws put containers at risk because every container on a host uses the same kernel. A bug that raises an ordinary user to root may work from inside a container, depending on the settings that restrict it. CVE-2022-0847, called Dirty Pipe, let a local user write to files that should be read only. CVE-2026-31431, called Copy Fail, is another local privilege escalation flaw disclosed in 2026. Updating Docker alone fixes neither one. Patch the host kernel, restart the machine so the new kernel loads, and keep the default seccomp profile together with AppArmor or SELinux.
Docker Desktop Escape Vulnerabilities
Docker Desktop escape vulnerabilities let a container break out of the layer that separates it from a developer’s Windows or Mac computer. CVE-2025-9074, scored 9.3, let local Linux containers reach the Docker Engine API at 192.168.65.7:2375 without authentication, even with Enhanced Container Isolation enabled. In some cases on Windows with the WSL 2 backend, an attacker could also mount the host drive. Desktop 4.44.3 fixed it. CVE-2026-112917, listed above, is a newer isolation bypass on Windows that needs both a Desktop update and a WSL update. Developer laptops often hold source code and cloud credentials, so put Docker Desktop under the same patch rules as servers.
Have Attackers Exploited Docker Vulnerabilities?
Yes, attackers have exploited flaws that affect Docker users, according to the Known Exploited Vulnerabilities catalog run by the US Cybersecurity and Infrastructure Security Agency (CISA). The catalog lists CVE-2019-15752, an old privilege escalation flaw in Docker Desktop Community Edition on Windows. It also lists the Linux kernel flaws Dirty Pipe and Copy Fail. A kernel entry proves exploitation of the kernel flaw, not that the attacks went through Docker. Absence from the catalog does not prove a flaw is safe. Patch listed flaws first, using the CISA KEV catalog beside the CVSS score, and also close exposed daemon ports, which need no CVE to be abused.
How Do You Check Docker for Vulnerabilities?
You check Docker for vulnerabilities by reviewing versions, scanning images and auditing how containers run.
- Check your versions with
docker versionandrunc --version, then compare them with the fixed releases above. - List running containers with
docker ps, so you scan what is deployed and not only what sits in the repository. - Scan each image with
docker scout cves IMAGEortrivy image IMAGE. - Filter urgent findings with
docker scout cves --only-cisa-kev IMAGE, which shows flaws in the CISA catalog. - Inspect container settings with
docker inspectfor privileged mode, socket mounts and root users. - Audit the host with Docker Bench for Security, a script based on CIS Docker Benchmark 1.6.0.
- Test from outside your network whether ports 2375 or 2376 answer.
- Add the image scan to your build pipeline, and fail the build on fixable critical findings.
How Do You Fix Docker Vulnerabilities?
You fix Docker vulnerabilities by updating the affected software, building a new image and replacing the old containers.
- Update Docker Engine or Docker Desktop, runc, containerd and the host kernel.
- Rank image findings by known exploitation, reachability, severity and fix availability.
- Change the
FROMline to a supported base image.docker scout recommendations IMAGEsuggests newer choices. - Upgrade vulnerable application libraries in files such as
requirements.txt,package.jsonorgo.mod. - Remove build tools and unused packages with multi stage builds, or move to a minimal image.
- Rebuild with
docker build --pull --no-cache -t app:new ., which fetches a fresh base and repeats every build step. - Rescan the new image and test the application.
- Redeploy the containers, because a running container keeps using the old image.
- Replace any secret that an older image exposed, since deleting the layer later does not recall copies.

Which Docker Vulnerability Scanner Should You Use?
The Docker vulnerability scanner you should use is the one that fits your workflow and that your team will act on. Docker Scout suits teams already using Docker Desktop and Docker Hub. Trivy and Grype are open source scanners that run on a command line or in a build pipeline.
| Scanner | Good fit | Starting command |
|---|---|---|
| Docker Scout | Docker Desktop and Hub users | docker scout cves IMAGE |
| Trivy | Images, files and settings in one open source tool | trivy image IMAGE |
| Grype | Images, file systems and software inventories | grype IMAGE |
Treat the scanner as part of your supply chain. In March 2026, attackers published a malicious Trivy release and altered tags for its GitHub Actions to steal credentials. Pin scanner versions and actions to verified releases or commit hashes.
Is Docker a Security Risk?
No, Docker is not a security risk by itself, but a poorly maintained or badly configured Docker host is one. Containers separate processes using kernel features, which gives useful isolation without the stronger boundary of a separate virtual machine. The daemon normally runs with root privileges, and Docker says only trusted users should control it. Risk stays manageable when you patch the whole stack, run containers without root, limit capabilities and keep the socket private. For hostile or multi tenant workloads, add stronger isolation such as separate virtual machines. For public servers, the ScanTitan network vulnerability scanner tests which services answer from the internet and matches reported versions to CVEs. It does not scan container images.
Docker Vulnerabilities FAQ
What are the most important Docker CVEs to know?
The most important Docker CVEs to know include CVE-2019-5736 and CVE-2024-21626 in runc, CVE-2025-9074 in Docker Desktop and CVE-2026-105445 in Docker Hub. Your priority list should start with whatever affects the versions you run.
What does CVE mean in Docker security?
CVE in Docker security means Common Vulnerabilities and Exposures, the public numbering system for known flaws. A CVE identifier names one flaw, while a CVSS score describes its severity.
Does Docker Desktop need security updates?
Yes, Docker Desktop needs security updates, because it ships with the engine, runtime, Linux kernel and extra features that can all contain flaws. Install new releases promptly and read the security notes.
Are Docker Official Images safe to use?
Docker Official Images are a sound starting point because they are curated and regularly updated, but they can still show CVEs. Scan them, pick a supported tag and rebuild when updates arrive.
Can malware escape a Docker container to the host?
Yes, malware can escape a Docker container when a runtime or kernel flaw exists, or when settings such as privileged mode or a mounted socket hand it control. Patching and least privilege lower that chance.
What is the difference between an image vulnerability and a container escape?
The difference is that an image vulnerability is a flaw in the files you ship, while a container escape breaks the isolation between a container and its host. An image flaw can give an attacker the first foothold for an escape.
How often should you scan Docker images?
You should scan Docker images at every build and again on a regular schedule, such as daily for internet facing services. New CVEs appear after an image passes its first scan.
Sources. Docker, security announcements, Desktop release notes and Engine security; Moby, security advisories; runc, security advisories; National Vulnerability Database; CISA, Known Exploited Vulnerabilities catalog; OWASP, Docker Security Cheat Sheet.


