CVE-2026-42143 Coolify: OS Command Injection via Persistent Volume Names - Root RCE on Managed Servers

High 8.8 Published Updated

Authenticated users can inject shell commands via persistent volume names to execute arbitrary code as root on managed servers.

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-2026-42143?

CVE-2026-42143 is a high-severity command injection vulnerability in coollabsio coolify, published on 7 Jul 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 4.0.0-beta.471, user-controlled persistent volume names are interpolated into shell commands executed on managed servers without escaping or validation, allowing an authenticated member to inject shell metacharacters and execute commands as root when volume operations are triggered. This issue appears to be fixed in version 4.0.0-beta.471.

Weakness: CWE-78

Which versions are affected by CVE-2026-42143?

How do I fix CVE-2026-42143?

No fix has been published for CVE-2026-42143 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-2026-42143 being exploited?

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

Sources

Also known as GHSA-6pmw-6m96-4v4m.

Is CVE-2026-42143 in your software?

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

Check your SBOMs for free