{"id":"CVE-2026-42201","published":"2026-07-07T03:29:13Z","modified":"2026-07-07T13:58:15Z","title":"Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands","vendor":"coollabsio","product":"coolify","tier":"tail","description":{"text":"Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, database credential fields (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.3,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.0024,"percentile":0.15345,"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-f35h-g2c2-q36v","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/coollabsio/coolify/pull/9676","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67da","tags":["x_refsource_MISC"]},{"url":"https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474","tags":["x_refsource_MISC"]}],"priority":{"score":5.4,"factors":[{"name":"EPSS percentile","points":3.07},{"name":"CVSS severity","points":2.31}]},"vendorSlug":"coollabsio","affectedVersions":[{"vendor":"coollabsio","product":"coolify","versions":["< 4.0.0-beta.474"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-07-07T13:58:05.000375Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-41999","exploited":false,"provenance":"source"}}