Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2026-42148— Coolify: Command Injection via Unescaped Version String in Docker Build

CVSS 3.8 · Low EPSS 0.12% · P2

Possible ATT&CK Techniques 1AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 1

VendorProductVersion RangeStatus
coollabsiocoolify< 4.0.0-beta.474affected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2026-42148

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Coolify: Command Injection via Unescaped Version String in Docker Build
Source: CVE Program / CVE List V5
Vulnerability Description
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.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:U/C:L/I:L/A:L
Source: CVE Program / CVE List V5
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Source: CVE Program / CVE List V5
Vulnerability Title
coolLabs Coolify 命令注入漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
coolLabs Coolify是coolLabs团队开源的一个开源和自托管的 Heroku/Netlify/Vercel 替代品。 coolLabs Coolify 4.0.0-beta.474之前版本存在命令注入漏洞,该漏洞源于对app/Livewire/Settings/Index.php中的dev_helper_version字段未进行shell转义,可能导致攻击者设置辅助版本并触发辅助镜像构建,进而执行任意命令。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
coollabsiocoolify < 4.0.0-beta.474 -

II. Public POCs for CVE-2026-42148

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-42148

登录查看更多情报信息。

Patches & Fixes for CVE-2026-42148 (2)

Vendor Advisories for CVE-2026-42148 (1)

Same Patch Batch · coollabsio · 2026-07-06 · 11 CVEs total

CVE-2026-340389.9 CRITICALCoolify authenticated remote command injection leading to RCE and secret exfiltration
CVE-2026-422048.8 HIGHCoolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root
CVE-2026-421538.8 HIGHCoolify: PostgreSQL Healthcheck Command Injection Allows Root Code Execution in Container
CVE-2026-341538.8 HIGHCoolify LocalFileVolume fs_path command injection enables RCE
CVE-2026-345998.8 HIGHCoolify: Authenticated Remote Code Execution in GetLogs Livewire Component
CVE-2026-418996.5 MEDIUMCoolify unauthenticated feedback endpoint allows Discord webhook abuse
CVE-2026-327186.5 MEDIUMCoolify read-scoped API tokens can perform state-changing validation operations
CVE-2026-340506.5 MEDIUMCoolify Settings/Updates Livewire component missing instance administrator authorization
CVE-2026-341675.0 MEDIUMCoolify: Cross-tenant activity log disclosure via unlocked Livewire property in ActivityMo
CVE-2026-340493.3 LOWCoolify: Command Injection via unsanitized MongoDB collection names in database backup

IV. Related Vulnerabilities

V. Comments for CVE-2026-42148

No comments yet


Leave a comment