CVE-2026-34158: 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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
AI Analysis
Technical Summary
CVE-2026-34158 is an OS command injection vulnerability (CWE-78) in coollabsio's Coolify product. The executeInDocker() helper wraps user-supplied commands in single quotes but fails to escape embedded single quotes properly. This flaw allows an attacker who can modify application settings to inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command, breaking out of the intended quoted context. Consequently, arbitrary commands can be executed on the host server outside the Docker container confinement during deployment processes. The issue is resolved in Coolify version 4.0.0-beta.469.
Potential Impact
Successful exploitation allows an attacker with limited privileges (permission to edit application settings) to execute arbitrary commands on the underlying host system with the privileges of the deployment process. This can lead to full compromise of the host, including confidentiality, integrity, and availability impacts. The CVSS v3.1 score is 8.8 (High), reflecting network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.469 or later, where this vulnerability is fixed. No other official remediation or temporary workaround is documented. Until upgrading, restrict access to application settings to trusted users only to prevent exploitation.
CVE-2026-34158: 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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.
CVSS v3.1
Score 8.8high
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
CVE-2026-34158 is an OS command injection vulnerability (CWE-78) in coollabsio's Coolify product. The executeInDocker() helper wraps user-supplied commands in single quotes but fails to escape embedded single quotes properly. This flaw allows an attacker who can modify application settings to inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command, breaking out of the intended quoted context. Consequently, arbitrary commands can be executed on the host server outside the Docker container confinement during deployment processes. The issue is resolved in Coolify version 4.0.0-beta.469.
Potential Impact
Successful exploitation allows an attacker with limited privileges (permission to edit application settings) to execute arbitrary commands on the underlying host system with the privileges of the deployment process. This can lead to full compromise of the host, including confidentiality, integrity, and availability impacts. The CVSS v3.1 score is 8.8 (High), reflecting network attack vector, low attack complexity, required privileges, and high impact on confidentiality, integrity, and availability.
Mitigation Recommendations
Upgrade to Coolify version 4.0.0-beta.469 or later, where this vulnerability is fixed. No other official remediation or temporary workaround is documented. Until upgrading, restrict access to application settings to trusted users only to prevent exploitation.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-03-25T20:12:04.196Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4c85f927e9c79719ebd754
Added to database: 07/07/2026, 04:52:09 UTC
Last enriched: 07/14/2026, 09:03:50 UTC
Last updated: 08/20/2026, 10:52:09 UTC
Views: 99
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.