CVE-2026-59734 Coolify Command Injection in Health Check Parameters
Coolify, an open-source deployment and server management platform, contains a command injection vulnerability in its health check feature. Authenticated users—those with login credentials—can inject malicious commands that execute inside deployment containers by manipulating health check parameters. The vulnerability affects Coolify versions before 4.0.0-beta.469 and was patched in that release. Because it requires authentication and grants full control over containers, this is a serious risk for multi-tenant or shared Coolify instances.
Source data · NVD / CISA · public domain
- CVSS
- 3.1 · 8.8 HIGH · CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses (CWE)
- CWE-78
- Affected products
- 0 configuration(s)
- Published / Modified
- 2026-07-09 / 2026-07-09
NVD description (verbatim)
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.469, Coolify's app/Jobs/ApplicationDeploymentJob.php generate_healthcheck_commands() function directly interpolated the health_check_host, health_check_method, and health_check_path parameters into shell commands without proper sanitization, allowing authenticated users to execute arbitrary commands inside deployment containers. This issue is fixed in version 4.0.0-beta.469.
5 reference(s) · View on NVD →
SEC.co analysis · AI-assisted, reviewed against source
Technical summary
The vulnerability exists in Coolify's ApplicationDeploymentJob.php file, specifically in the generate_healthcheck_commands() function. This function constructs shell commands by directly interpolating three user-controlled parameters—health_check_host, health_check_method, and health_check_path—without input validation or shell escaping. An authenticated attacker can inject shell metacharacters (pipes, semicolons, backticks, command substitution syntax) into these parameters to break out of the intended command context and execute arbitrary commands. The injected commands run with the privileges of the deployment container process, potentially allowing data exfiltration, lateral movement, or container escape depending on the runtime configuration.
Business impact
Compromise of a Coolify instance can lead to unauthorized access to all deployed applications, databases, and server infrastructure managed through that instance. An insider threat or compromised account holder can silently inject malicious code into production deployments, exfiltrate sensitive data, or disrupt service availability. For organizations using Coolify to manage customer deployments or multi-tenant infrastructure, a single compromised admin or developer account could cascade to affect all downstream customers and applications.
Affected systems
Coolify versions prior to 4.0.0-beta.469 are affected. The vulnerability requires an authenticated user account, so it does not directly impact unauthenticated instances or air-gapped deployments without external user access. Self-hosted Coolify instances and any platform built atop Coolify that exposes the health check configuration API are in scope.
Exploitability
The attack requires valid authentication credentials, which raises the bar compared to unauthenticated exploits. However, in typical deployment scenarios, developers and operations staff routinely have Coolify access, and credential compromise through phishing, insider threats, or lateral movement from other breaches is common. The vulnerability is straightforward to exploit once authenticated—modifying health check parameters requires only standard web interface interaction or API calls. No complex exploitation chains or race conditions are needed.
Remediation
Upgrade Coolify to version 4.0.0-beta.469 or later. This patch version implements proper input sanitization and shell-safe parameter passing for health check commands. Organizations unable to upgrade immediately should restrict Coolify access to a minimal set of trusted users and monitor health check parameter modifications in audit logs.
Patch guidance
Apply the Coolify upgrade to version 4.0.0-beta.469 as your primary remediation. Verify the upgrade by checking the Coolify version string in the UI or by inspecting the deployed image tag if using containerized deployments. Test health check functionality after upgrade to confirm no regression in legitimate health check workflows. If you are on a stable release channel (non-beta), monitor the Coolify release notes for when this fix ships in a stable 4.0.0 or later GA release.
Detection guidance
Monitor Coolify audit logs for modifications to application health check parameters, particularly changes to health_check_host, health_check_method, or health_check_path that contain unusual syntax or shell metacharacters. Search logs for patterns like semicolons, pipes, backticks, dollar signs, or command substitution syntax within these fields. Check container execution logs for unexpected commands spawned by the deployment job process. If you have network telemetry, watch for outbound connections initiated from deployment containers that do not match the expected application traffic.
Why prioritize this
This vulnerability merits urgent patching because it grants authenticated users full code execution within containers that often have access to production databases, secrets, and other critical infrastructure. The CVSS 8.8 (HIGH) score reflects high impact (confidentiality, integrity, availability all compromised) and low attack complexity. While authentication is required, the pool of potential attackers (developers, ops staff, contractors) and the frequency of credential compromise make this a real and present risk. Organizations should treat this as a priority-1 patch if they run multi-user Coolify instances or manage sensitive workloads.
Risk score, explained
The CVSS 3.1 score of 8.8 (HIGH) is driven by three factors: (1) Network-accessible attack vector—Coolify is typically accessed over the network; (2) Low attack complexity—no special conditions or race conditions needed beyond authentication; (3) High impact across all three security properties—an attacker can read sensitive data (confidentiality), modify deployed code or configurations (integrity), and crash containers or applications (availability). The requirement for prior authentication (PR:L) prevents a perfect 9.0+ score, but the real-world risk remains substantial because authenticated compromise is common.
Frequently asked questions
Does this vulnerability affect unauthenticated users?
No. The vulnerability requires valid Coolify credentials. Unauthenticated visitors to a Coolify instance cannot exploit it directly. However, if an attacker compromises a Coolify user account through phishing, password reuse, or other means, they can immediately exploit this vulnerability.
Can this vulnerability be exploited to escape the container and compromise the host system?
The vulnerability grants arbitrary command execution inside the deployment container. Escaping the container and compromising the host depends on the container runtime configuration (e.g., whether the container runs as root, has privileged mode enabled, or has access to the Docker socket). In typical setups, this is a significant risk; in hardened environments with restrictive seccomp profiles and non-root users, the blast radius may be limited. Assume worst-case scenario and patch immediately.
What should I do if I cannot upgrade Coolify immediately?
Restrict Coolify console access to a small, trusted group of administrators. Review audit logs for any suspicious health check parameter changes. Disable or restrict the health check feature if not actively used. Monitor deployment container activity closely. Plan the upgrade as soon as feasible—beta patches are typically fast to apply and low-risk for non-production instances first.
Is this vulnerability on the CISA Known Exploited Vulnerabilities (KEV) catalog?
As of the published date, this vulnerability has not been added to the CISA KEV catalog, indicating no widespread active exploitation has been confirmed yet. However, the absence of KEV status does not mean exploitation is unlikely; it reflects current threat intelligence at the time of publication. Treat this as a vulnerability that could be exploited and should not be deprioritized.
This analysis is for informational purposes and reflects vulnerability details as published. CVSS scores, patch version numbers, and affected product lists are derived from official vendor advisories and CVE records. Organizations must verify patch applicability and compatibility in their own environments before deploying updates. No exploit code or detailed attack walkthroughs are provided. SEC.co makes no warranty regarding the completeness or accuracy of this intelligence and recommends consulting official vendor documentation and security advisories for authoritative guidance. Source: NVD (public-domain), retrieved 2026-08-17. Analysis generated by SEC.co (claude-haiku-4-5).
Weaknesses (CWE)
Related vulnerabilities
- CVE-2025-41265HIGHWaterfall WF-500 TX Host OS Command Injection (CVSS 7.2)
- CVE-2025-41266HIGHWaterfall WF-500 TX Host Command Injection Vulnerability Analysis
- CVE-2025-41267HIGHWaterfall WF-500 TX Host Command Injection Vulnerability
- CVE-2025-41279HIGHOS Command Injection in Waterfall WF-500 RX Host Administration WebUI
- CVE-2025-41281HIGHWaterfall WF-500 OS Command Injection
- CVE-2025-66273HIGHQNAP Command Injection in QTS and QuTS hero
- CVE-2025-66279HIGHQNAP NAS Command Injection – Admin Authentication Required, HIGH Severity
- CVE-2025-69755HIGHNeterbit NW-431F Router RCE and Data Exposure Vulnerability