CVE-2026-42204: 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. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
AI Analysis
Technical Summary
CVE-2026-42204 is an OS command injection vulnerability in coollabsio's Coolify product. A regression in the SHELL_SAFE_COMMAND_PATTERN from versions 4.0.0-beta.471 through 4.0.0-beta.473 allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields. This flaw permits authenticated team members to inject shell commands that execute on the host system. The vulnerability is resolved in version 4.0.0-beta.474.
Potential Impact
Successful exploitation allows an authenticated team member to execute arbitrary shell commands on the host, potentially leading to full system compromise, including confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Upgrade to version 4.0.0-beta.474 or later where this vulnerability is fixed. No other mitigation or temporary workaround is specified.
CVE-2026-42204: 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. From 4.0.0-beta.471 through 4.0.0-beta.473, a regression in SHELL_SAFE_COMMAND_PATTERN allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields, allowing an authenticated team member to inject shell commands that execute on the host. This issue is fixed in version 4.0.0-beta.474.
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-42204 is an OS command injection vulnerability in coollabsio's Coolify product. A regression in the SHELL_SAFE_COMMAND_PATTERN from versions 4.0.0-beta.471 through 4.0.0-beta.473 allowed ampersands in custom Docker Compose build, start, and pre/post-deployment command fields. This flaw permits authenticated team members to inject shell commands that execute on the host system. The vulnerability is resolved in version 4.0.0-beta.474.
Potential Impact
Successful exploitation allows an authenticated team member to execute arbitrary shell commands on the host, potentially leading to full system compromise, including confidentiality, integrity, and availability impacts.
Mitigation Recommendations
Upgrade to version 4.0.0-beta.474 or later where this vulnerability is fixed. No other mitigation or temporary workaround is specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-04-25T05:04:37.027Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a4c23d927e9c79719492a00
Added to database: 07/06/2026, 21:53:29 UTC
Last enriched: 07/06/2026, 22:06:18 UTC
Last updated: 07/06/2026, 22:52:02 UTC
Views: 4
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.
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.