{"id":"CVE-2026-42204","state":"PUBLISHED","title":"Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root","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.","publishedAt":"2026-07-06T21:17:16.800Z","updatedAt":"2026-07-07T14:47:36.729Z","severity":{"score":8.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["coollabsio coolify"],"affected":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":">= 4.0.0-beta.471, < 4.0.0-beta.474","status":"affected"}]}],"references":["https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x","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"],"weaknesses":["CWE-78"],"ingestedAt":"2026-10-29T20:11:57.932Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/42xxx/CVE-2026-42204.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42204","state":"PUBLISHED","datePublished":"2026-07-06T21:17:16.800Z","dateUpdated":"2026-07-07T14:47:36.729Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-04-25T05:04:37.027Z"},"containers":{"cna":{"title":"Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":">= 4.0.0-beta.471, < 4.0.0-beta.474","status":"affected"}]}],"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x","name":"https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/9684","name":"https://github.com/coollabsio/coolify/pull/9684","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9","name":"https://github.com/coollabsio/coolify/commit/e1aac50b745cf499e710b7e35cd2a9d6a1538dd9","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","name":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"HIGH","baseScore":8.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-78","lang":"en","description":"CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-07-06T21:17:16.800Z"},"source":{"advisory":"GHSA-chg4-63hm-xv9x","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-chg4-63hm-xv9x","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-07T14:47:26.768127Z","id":"CVE-2026-42204","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-07-07T14:47:36.729Z"}}]}}}