Property
Languagedockerfile
Severityhigh
CWECWE-862: Missing Authorization
Confidence LevelHigh
Impact LevelHigh
Likelihood LevelMedium

Description#

Mounting the Docker socket (docker.sock) inside a container gives processes in the container full control over the Docker host. This exposes the host to risks if the container is compromised.

Impact#

If an attacker gains access to the container, they can use the Docker socket to escape the container and execute arbitrary commands on the host system, potentially leading to full system compromise, data breaches, or lateral movement across your infrastructure.