You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 24, 2026. It is now read-only.
Repository navigation
This repository was archived by the owner on May 24, 2026. It is now read-only.
security: no validation of dockerargs values allows privilege escalation #13
User-supplied dockerargs values from config files are passed directly to docker run/docker exec without any validation. This allows injecting dangerous Docker flags.
Location
entrypoint.sh lines 55, 81
Attack Vector
A config file with crafted dockerargs can inject flags such as:
--privileged — full host device access
-v /:/host — mount the host filesystem
--cap-add SYS_ADMIN — elevated capabilities
--network=host — access host network stack
Any of these can lead to complete host compromise from within the container.
Recommended Fix
Implement an allowlist of safe Docker flags, or validate and reject known dangerous flags before passing dockerargs to Docker commands.
Activity