CVE-2026-42143: Coollabsio Coolify OS command injection in persistent volume names

CVE-2026-42143 · Severity: high · CVSS 8.8 · Published 2026-07-07

Coolify, an open-source tool for managing servers and databases, contains a vulnerability that allows authenticated users to execute unauthorized commands. By providing a specially crafted name for a storage volume, an attacker can gain full administrative (root) control over the managed servers. This could lead to complete system takeover, data theft, or service disruption across all servers managed by the platform.

Quick answers

Is CVE-2026-42143 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2026-42143 being exploited in the wild.
How severe is CVE-2026-42143?
High severity, with a CVSS score of 8.8, published 7 July 2026.
Which products and versions are affected?
coollabsio Coolify < 4.0.0-beta.471.
Is there a fix for CVE-2026-42143?
A patch was published on 2026-03-26: Fix committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2026-42143 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2026-42143?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

An OS command injection vulnerability exists in Coolify prior to version 4.0.0-beta.471. The root cause is the lack of escaping or validation when interpolating user-controlled persistent volume names into shell commands (specifically 'docker volume rm') executed via SSH on managed servers. An authenticated attacker with at least 'member' privileges can inject shell metacharacters (e.g., semicolons) into a volume name via the API. When a volume operation—such as deleting a database with the 'Delete Volumes' option—is triggered, the injected commands are executed with root privileges. The issue was addressed by implementing 'escapeshellarg()' for volume names and adding input validation patterns.

Affected products

  • coollabsio Coolify < 4.0.0-beta.471

Timeline

  • 2026-03-26: patched: Fix committed to repository
  • 2026-04-09: advisory: Release v4.0.0-beta.471 published
  • 2026-07-07: disclosed: CVE published to NVD

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.