CVE-2026-27955: Coolify: Command Injection via Single-Quote Breakout in `executeInDocker()`

Published Jun 30, 2026
·
Updated

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 dockercomposecustombuildcommand and dockercomposecustomstartcommand 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.

Affected Software

1 affected component
Coolify<4.0.0-beta.464

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.464
  2. Configuration

    Modify executeInDocker() so it escapes single quotes when wrapping user-influenced commands in bash -c '{$command}', preventing single-quote breakout from the intended bash -c argument context.

    Coolify executeInDocker() helper command wrapping in bash -c '{$command}' = Escapes single quotes in $command (no single-quote breakout into bash -c context)

Event History

Jun 30, 2026
CVE Published
via MITRE·02:36 PM
Data Sourced
via MITRE·02:36 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·03: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-27955?

CVE-2026-27955 has a medium severity rating of 6.6.

2

How do I fix CVE-2026-27955?

To fix CVE-2026-27955, update Coolify to version 4.0.0-beta.464 or later.

3

What type of vulnerability is CVE-2026-27955?

CVE-2026-27955 is an OS Command Injection vulnerability.

4

What is the impact of CVE-2026-27955?

CVE-2026-27955 allows for command injection via a single-quote breakout in the executeInDocker() function.

5

Which versions of Coolify are affected by CVE-2026-27955?

CVE-2026-27955 affects Coolify versions prior to 4.0.0-beta.464.

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