Default Root User
Omitting the USER directive in Dockerfiles, causing containers to run as root by default.
Remote code execution (RCE) inside the container could grant full root privileges, enabling lateral movement, container escape attempts, and host impact via mounted volumes or the Docker socket.
Omitting the USER directive in Dockerfiles, causing containers to run as root by default.
Sourcery automatically identifies remote code execution (rce) due to root user in dockerfile and many other security issues in your codebase.