CVE-2025-59156 Coolify has Docker Compose Injection issue

Critical 9.4 Published Updated

Low-privileged users can inject Docker Compose directives to execute root commands on the host, bypassing container isolation.

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-59156?

CVE-2025-59156 is a critical command injection vulnerability in coollabsio coolify, published on 5 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to version 4.0.0-beta.420.7, a Remote Code Execution (RCE)*vulnerability exists in Coolify's application deployment workflow. This flaw allows a low-privileged member to inject arbitrary Docker Compose directives during project creation or updates. By defining a malicious service that mounts the host filesystem, an attacker can achieve root-level command execution on the host OS, completely bypassing container isolation. Version 4.0.0-beta.420.7 contains a patch for the issue.

Weakness: CWE-78

Which versions are affected by CVE-2025-59156?

It affects 1 product.

Products include Coollabs Coolify.

How do I fix CVE-2025-59156?

No fix has been published for CVE-2025-59156 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-59156 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-59156 exists.

Sources

Also known as GHSA-h5xw-7xvp-xrxr.

Is CVE-2025-59156 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free