{"id":"CVE-2026-42204","published":"2026-07-06T21:17:16Z","modified":"2026-07-07T14:47:36Z","title":"Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root","vendor":"coollabsio","product":"coolify","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.8,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0065,"percentile":0.45781,"provenance":"source"},"cwes":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command"}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/9684","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","tags":["x_refsource_MISC"]}],"priority":{"score":15.3,"factors":[{"name":"EPSS percentile","points":9.16},{"name":"CVSS severity","points":6.16}]},"vendorSlug":"coollabsio","affectedVersions":[{"vendor":"coollabsio","product":"coolify","versions":[">= 4.0.0-beta.471, < 4.0.0-beta.474"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-07-07T14:47:26.768127Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41955","exploited":false,"provenance":"source"}}