CVE-2026-42148 PUBLISHED

Coolify: Command Injection via Unescaped Version String in Docker Build

Assigner: GitHub_M
Reserved: 24.04.2026 Published: 06.07.2026 Updated: 07.07.2026

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.

Metrics

CVSS Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
CVSS Score: 3.8

Product Status

Vendor coollabsio
Product coolify
Versions
  • Version < 4.0.0-beta.474 is affected

References

Problem Types

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') CWE