{"id":81623,"date":"2026-07-07T08:46:51","date_gmt":"2026-07-07T05:16:51","guid":{"rendered":"https:\/\/afaghhosting.net\/blog\/cve-2026-42201-coolify-os-command-injection-via-database-credential-fields-in-docker-compose-service-commands\/"},"modified":"2026-07-07T08:46:51","modified_gmt":"2026-07-07T05:16:51","slug":"cve-2026-42201-coolify-os-command-injection-via-database-credential-fields-in-docker-compose-service-commands","status":"publish","type":"post","link":"https:\/\/afaghhosting.net\/blog\/cve-2026-42201-coolify-os-command-injection-via-database-credential-fields-in-docker-compose-service-commands\/","title":{"rendered":"CVE-2026-42201 &#8211; Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands"},"content":{"rendered":"<p>CVE ID :CVE-2026-42201<\/p>\n<p>  Published : July 7, 2026, 5:16 a.m. | 31\u00a0minutes ago<\/p>\n<p>  Description :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 &#8216;string&#8217; 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.<\/p>\n<p>  Severity: 3.3 | LOW<\/p>\n<p>  Visit the link for more details, such as CVSS details, affected products, timeline, and more&#8230;\u00a0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>CVE ID :CVE-2026-42201 Published : July 7, 2026, 5:16 a.m. | 31\u00a0minutes ago Description :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 &#8216;string&#8217; at the API layer, with zero shell-safety checks. These values &hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[26],"tags":[],"class_list":["post-81623","post","type-post","status-publish","format-standard","hentry","category-vulnerability"],"_links":{"self":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81623","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/comments?post=81623"}],"version-history":[{"count":0,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/posts\/81623\/revisions"}],"wp:attachment":[{"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/media?parent=81623"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/categories?post=81623"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/afaghhosting.net\/blog\/wp-json\/wp\/v2\/tags?post=81623"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}