# CVE-2026-42204: Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-06T21:17:16.800Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.

(As written by CVE List.)

## Affected

- coollabsio coolify: >= 4.0.0-beta.471, < 4.0.0-beta.474

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x> (exploit)
- <https://github.com/coollabsio/coolify/pull/9684>
- <https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474>

## Sources

- CVE List: [CVE-2026-42204](https://www.cve.org/CVERecord?id=CVE-2026-42204), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-42204](https://nvd.nist.gov/vuln/detail/CVE-2026-42204), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42204 · Whole record: https://cve.day/CVE-2026-42204.json · Rebuilt by cve.day 2026-11-25T22:59:27.270Z
