CVE-2026-84694

high

Description

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.

References

https://www.vulncheck.com/advisories/coolify-before-4.2.0-remote-code-execution-via-environment-variable-key

https://github.com/coollabsio/coolify/releases/tag/v4.2.0

https://github.com/coollabsio/coolify/commit/b50839d4515b115b7ded5db609471440249995da

https://github.com/coollabsio/coolify/blob/v4.1.2/app/Support/ValidationPatterns.php

https://github.com/coollabsio/coolify/blob/v4.1.2/app/Policies/ApplicationPolicy.php

https://github.com/coollabsio/coolify

Details

Source: Mitre, NVD

Published: 2026-09-02

Updated: 2026-09-02

Risk Information

CVSS v2

Base Score: 9

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:C/A:C

Severity: High

CVSS v3

Base Score: 8.8

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Severity: High

CVSS v4

Base Score: 8.7

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

Severity: High