CVE-2026-84694: Coolify before 4.2.0 Remote Code Execution via Environment Variable Key

Published Sep 2, 2026
·
Updated

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.

Affected Software

1 affected component
Coolify<4.2.0

Event History

Sep 2, 2026
CVE Published
via MITRE·12:37 AM
Data Sourced
via MITRE·12:37 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who is exposed to this issue?

Coolify deployments using versions before 4.2.0 that execute Docker commands over SSH on managed servers are exposed. The impact is on the managed server host, not only on workloads running inside containers.

2

What does an attacker need to exploit it?

An attacker needs authentication and the ability to supply an environment variable key name containing shell metacharacters. No user interaction is required.

3

Are default deployments known to be affected?

The available information identifies affected versions and the SSH-managed-server Docker command path, but does not state whether this path is enabled or reachable in a default deployment.

4

What can be done if upgrading is not immediately possible?

Restrict access to accounts that can create or modify environment variable keys, and prevent untrusted users from supplying such keys. Review environment variable key names for shell metacharacters, especially on applications deployed to managed servers.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203