{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-42148","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","state":"PUBLISHED","assignerShortName":"GitHub_M","dateReserved":"2026-04-24T17:15:21.834Z","datePublished":"2026-07-06T21:14:31.801Z","dateUpdated":"2026-07-07T12:43:59.967Z"},"containers":{"cna":{"title":"Coolify: Command Injection via Unescaped Version String in Docker Build","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"}]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"LOW","baseScore":3.8,"baseSeverity":"LOW","confidentialityImpact":"LOW","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L","version":"3.1"}}],"references":[{"name":"https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9","tags":["x_refsource_CONFIRM"],"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9"},{"name":"https://github.com/coollabsio/coolify/pull/9670","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/pull/9670"},{"name":"https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c","tags":["x_refsource_MISC"],"url":"https://github.com/coollabsio/coolify/commit/dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c"}],"affected":[{"vendor":"coollabsio","product":"coolify","versions":[{"version":"< 4.0.0-beta.474","status":"affected"}]}],"providerMetadata":{"orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M","dateUpdated":"2026-07-06T21:14:31.801Z"},"descriptions":[{"lang":"en","value":"Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, the buildHelperImage method in app/Livewire/Settings/Index.php constructs a Docker build command using the dev_helper_version field without shell escaping, allowing an attacker who can set the helper version and trigger the helper image build in a development environment to execute arbitrary commands on the server. This issue is fixed in version 4.0.0-beta.474."}],"source":{"advisory":"GHSA-x9qh-w4c4-54f9","discovery":"UNKNOWN"}},"adp":[{"references":[{"url":"https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-07-07T12:43:40.730615Z","id":"CVE-2026-42148","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2026-07-07T12:43:59.967Z"}}]}}