Coolify Self-Hosting Platform Vulnerabilities Allow Attackers to Execute Arbitrary System Commands

A cluster of three critical vulnerabilities has been disclosed in Coolify, a popular self-hosting platform, that allow attackers to execute arbitrary system commands and bypass authentication.

The vulnerabilities pose severe risks to organizations deploying Coolify instances, particularly those exposed to the internet.

Security researchers have identified three distinct command-injection and information-disclosure flaws affecting multiple versions of Coolify.

According to Censys threat intelligence, approximately 52,650 exposed Coolify instances are currently trackable on the public internet, representing a significant attack surface for threat actors.

The vulnerabilities span two primary attack vectors: unauthenticated command injection via Docker Compose build parameters and authenticated privilege escalation through unsanitized git source input fields.

Additionally, a separate information disclosure flaw allows low-privileged users to extract private SSH keys, potentially enabling lateral movement and persistent access to underlying infrastructure.

Vulnerability Breakdown

CVE IDCVSS ScoreTypeImpact
CVE-2025-644199.7 (v3.1)Command InjectionArbitrary command execution via Docker Compose
CVE-2025-644209.9 (v3.1)Information DisclosurePrivate SSH key exposure
CVE-2025-644249.4 (v4.0)Command InjectionAuthenticated RCE via git fields

CVE-2025-64419 represents the most dangerous vector, exploiting unsanitized parameters in Docker Compose build packs.

Attackers can trigger code execution by convincing victims to build applications from attacker-controlled repositories, thereby bypassing authentication credentials entirely.

CVE-2025-64424 affects authenticated users with member-level privileges, enabling them to inject arbitrary commands through git source input fields in resource configuration.

The vulnerability stems from inadequate input sanitization before parameters are passed to system commands, making exploitation trivial.

CVE-2025-64420 constitutes an information disclosure flaw that permits low-privileged users to access private SSH keys stored on the Coolify instance.

Once extracted, these credentials can be used for SSH authentication, potentially granting elevated privileges on both the Coolify platform and the underlying servers.

Patches are available for CVE-2025-64419, with version 4.0.0-beta.445 addressing the vulnerability. However, the patch status for CVE-2025-64420 and CVE-2025-64424 remains unclear.

Organizations operating affected Coolify versions should prioritize immediate upgrades and consider restricting network access to affected instances until patches are deployed.

A proof-of-concept demonstration published on GitHub confirms the triviality of the command injection exploits, increasing the likelihood of active exploitation in the near term.

Security teams should treat these vulnerabilities as critical priorities requiring immediate remediation.

Follow us on Google News , LinkedIn and X to Get More Instant Updates. Set Cyber Press as a Preferred Source in Google.

AnuPriya
AnuPriya
Any Priya is a cybersecurity reporter at Cyber Press, specializing in cyber attacks, dark web monitoring, data breaches, vulnerabilities, and malware. She delivers in-depth analysis on emerging threats and digital security trends.

Trending News

Related Stories