CVE-2025-34159 Coolify Docker Compose Directive Injection in Application Deployment Workflow
Authenticated low-privilege users can inject Docker Compose directives to mount host filesystems, achieving root code execution on the server.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-34159?
CVE-2025-34159 is a critical code injection vulnerability in coolLabs Technologies Coolify, published on 27 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application deployment workflow. The platform allows authenticated users, with low-level member privileges, to inject arbitrary Docker Compose directives during project creation. By crafting a malicious service definition that mounts the host root filesystem, an attacker can gain full root access to the underlying server.
Which versions are affected by CVE-2025-34159?
It affects 1 product.
Products include Coollabs Coolify.
How do I fix CVE-2025-34159?
No fix has been published for CVE-2025-34159 yet. Limit exposure of the affected software until one is available.
Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.
Is CVE-2025-34159 being exploited?
There is no known exploitation of CVE-2025-34159 in the wild and no public exploit code.
Public exploit code: 1 proofs of concept on GitHub.
Other vulnerabilities in coolLabs Technologies Coolify
- CVE-2025-59157 Coolify has Git Repository RCE
- CVE-2025-64420 Coolify members can see private key of root user
- CVE-2025-66209 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Backup
- CVE-2025-22609 Coolify Vulnerable to Private Key Hijacking / Remote Command Execution (RCE)
- CVE-2025-22611 Coolify vulnerable to Privilege Escalation resulting in Remote Command Execution (RCE)
Sources
Also known as GHSA-qh8c-f279-4cgv.