CVE-2026-84694
moderateAuthenticated Command Injection in Coolify via Environment Variable Keys
Coolify before 4.2.0 fails to properly escape environment variable key names before interpolating them into Docker commands executed over SSH on managed servers, an OS command injection flaw (CWE-78). An authenticated user who can create or edit environment variables can embed shell metacharacters in a variable key name, causing attacker-controlled commands to run in a shell on the target server. Because execution occurs on the server host rather than inside a container, the attacker escapes container isolation and gains arbitrary command execution with high confidentiality, integrity, and availability impact on that host. Any deployment running a Coolify version prior to 4.2.0 is affected, particularly installations managing remote servers over SSH. No exploitation has been observed: there is no known public PoC, the flaw is not in CISA KEV, and EPSS estimates a 0.5% probability of exploitation within 30 days.
What to do: Upgrade Coolify to version 4.2.0 or later, which properly escapes environment variable key names. As interim mitigation, restrict creation and editing of environment variables to trusted users and audit existing variable key names on managed servers for shell metacharacters such as ;, &&, |, $, backticks, or spaces.
| Coolify (coollabsio) Coolify | all versions before 4.2.0 |
Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.
Coolify before 4.2.0 fails to properly escape environment variable key names in Docker commands executed over SSH on managed servers. Authenticated attackers can inject shell metacharacters into environment variable keys to execute arbitrary commands on the server host outside containers.
- Weakness
- CWE-78
- Vector
- CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
In the news0 stories
No ingested article mentions this CVE yet.