CVE-2026-27955: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coollabsio coolify
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.464, the executeInDocker() helper wraps commands in bash -c '{$command}' without escaping single quotes. User-controlled docker_compose_custom_build_command and docker_compose_custom_start_command fields are interpolated directly, allowing a single quote to break out of the bash -c argument and execute commands on the managed server host (outside the intended Docker container context). This vulnerability is fixed in 4.0.0-beta.464.
AI Analysis
Technical Summary
The vulnerability in coollabsio's Coolify arises from the executeInDocker() helper wrapping commands in bash -c '{$command}' without escaping single quotes. User-controlled fields docker_compose_custom_build_command and docker_compose_custom_start_command are interpolated directly, enabling an attacker to inject commands that execute on the host operating system outside the Docker container. This is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'). The issue is resolved in version 4.0.0-beta.464.
Potential Impact
Successful exploitation allows an attacker with appropriate privileges to execute arbitrary commands on the managed server host outside the Docker container, potentially leading to partial confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:L/I:L/A:L).
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.464 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in 4.0.0-beta.464.
CVE-2026-27955: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in coollabsio coolify
Description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.464, the executeInDocker() helper wraps commands in bash -c '{$command}' without escaping single quotes. User-controlled docker_compose_custom_build_command and docker_compose_custom_start_command fields are interpolated directly, allowing a single quote to break out of the bash -c argument and execute commands on the managed server host (outside the intended Docker container context). This vulnerability is fixed in 4.0.0-beta.464.
CVSS v3.1
Score 6.6medium
Affected software
pkg:github/coollabsio/coolifyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in coollabsio's Coolify arises from the executeInDocker() helper wrapping commands in bash -c '{$command}' without escaping single quotes. User-controlled fields docker_compose_custom_build_command and docker_compose_custom_start_command are interpolated directly, enabling an attacker to inject commands that execute on the host operating system outside the Docker container. This is classified as CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection'). The issue is resolved in version 4.0.0-beta.464.
Potential Impact
Successful exploitation allows an attacker with appropriate privileges to execute arbitrary commands on the managed server host outside the Docker container, potentially leading to partial confidentiality, integrity, and availability impacts as indicated by the CVSS vector (C:L/I:L/A:L).
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.464 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is not explicitly stated but the fix is included in 4.0.0-beta.464.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-02-25T03:11:36.691Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a43db7c27e9c79719f8cbc2
Added to database: 06/30/2026, 15:06:36 UTC
Last enriched: 06/30/2026, 15:22:22 UTC
Last updated: 07/01/2026, 03:34:40 UTC
Views: 8
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.