CVE-2026-42204: Coolify: Authenticated RCE via SHELL_SAFE_COMMAND_PATTERN regression → host root

Published Jul 6, 2026
·
Updated

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 SHELLSAFECOMMANDPATTERN 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.

Affected Software

2 affected components
Coolify Coolify>=4.0.0-beta.471<=4.0.0-beta.473
Coolify Coolify=4.0.0-beta.474

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Coolify to a version that resolves this vulnerability.

    Fixed in 4.0.0-beta.474

Event History

Jul 6, 2026
CVE Published
via MITRE·09:17 PM
Data Sourced
via MITRE·09:17 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·10:16 PM
DescriptionSeverityWeakness
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-42204?

CVE-2026-42204 has a high severity score of 8.8.

2

What does CVE-2026-42204 affect?

CVE-2026-42204 affects Coolify versions from 4.0.0-beta.471 to 4.0.0-beta.473.

3

How do I fix CVE-2026-42204?

To fix CVE-2026-42204, upgrade to a patched version of Coolify that addresses the SHELL_SAFE_COMMAND_PATTERN regression.

4

What type of vulnerability is CVE-2026-42204?

CVE-2026-42204 is categorized as an OS Command Injection vulnerability.

5

What is the main risk of CVE-2026-42204?

The main risk of CVE-2026-42204 is authenticated remote code execution via manipulated Docker Compose commands.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203