CVE-2025-64419·Docker vulnerability
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.445, parameters coming from docker-compose.yaml are not sanitized when used in commands. If a victim user creates an application from an attacker repository (using build pack "docker compose"), the attacker can execute commands on the Coolify instance as root. Version 4.0.0-beta.445 fixes the issue.
- Severity
- critical
- Software
- Docker
- Fixed in
- 4.0.0
- Published
- 2026-01-05
Affected versions
Until: 4.0.0
Fixed in: 4.0.0
How to fix this CVE
Update Docker to version 4.0.0 or later to patch the command injection vulnerability in parameter handling. This fix prevents malicious docker-compose.yaml files from executing arbitrary commands with root privileges on the Docker host. Ensure all systems running affected versions are patched immediately, as exploitation allows complete system compromise.
sudo dnf update docker-ceDefensia detects this vulnerability
How to check if you are affected
- Check installed Docker version: docker --version or docker version | grep -i version
- Verify if docker-compose is enabled and applications are loaded from untrusted repositories: docker ps and docker images | grep -E 'repository|tag'
- Search system logs for suspicious command execution: grep -r 'docker-compose' /var/log/ and journalctl -u docker -n 1000 | grep -i 'error\|failed\|executed'
- Confirm patch installation: docker --version should report 4.0.0 or higher; compare against NVD fixed version
FAQ
What is CVE-2025-64419?
CVE-2025-64419 is a command injection vulnerability in Docker where unsanitized parameters from docker-compose.yaml files are passed directly into system commands. An attacker can craft a malicious docker-compose file that executes arbitrary commands with root privileges when deployed through Coolify.
Is CVE-2025-64419 being actively exploited?
No, CVE-2025-64419 is not currently listed on the CISA Known Exploited Vulnerabilities catalog and no public exploits are available. However, the attack requires minimal complexity and delivers critical impact, making it attractive to adversaries.
What versions of Docker are affected by CVE-2025-64419?
All Docker versions prior to 4.0.0 are affected. The vulnerability exists in parameter sanitization logic that was corrected in version 4.0.0 and later.
How do I check if my server is vulnerable to CVE-2025-64419?
Run 'docker --version' and compare the output against 4.0.0. If your version is lower, your system is vulnerable. Additionally, audit any docker-compose.yaml files sourced from untrusted repositories for suspicious environment variables or command substitutions.
Does Defensia detect CVE-2025-64419?
Yes — Defensia's CVE advisory scanner compares installed package versions against the NVD database. If Docker is installed on a monitored server, CVE-2025-64419 will appear in your dashboard with remediation steps.
Related Docker CVEs
References
Track CVEs across your fleet automatically
Defensia scans your Linux servers and tells you exactly which ones are running vulnerable versions — including CVE-2025-64419. Free for 1 server.
Get started free