CVE-2026-42201: Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands

Published Jul 7, 2026
·
Updated

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, database credential fields (redispassword, keydbpassword, dragonflypassword, clickhouseadminuser, clickhouseadminpassword, postgresuser, mysqluser) are validated only as 'string' at the API layer, with zero shell-safety checks. These values are then interpolated directly into Docker Compose YAML command: strings without any escaping. This issue is fixed in version 4.0.0-beta.474.

Affected Software

1 affected component
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 7, 2026
CVE Published
via MITRE·03:29 AM
Data Sourced
via MITRE·03:29 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·05:16 AM
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-42201?

CVE-2026-42201 has a severity rating of low, specifically rated at 3.3.

2

What vulnerability does CVE-2026-42201 describe?

CVE-2026-42201 describes an OS Command Injection vulnerability in Coolify related to database credential fields.

3

How do I fix CVE-2026-42201?

To fix CVE-2026-42201, upgrade to Coolify version 4.0.0-beta.474 or later, where the issue has been addressed.

4

What are the affected database credential fields in CVE-2026-42201?

The affected database credential fields include redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, and mysql_user.

5

Who is affected by CVE-2026-42201?

Users of prior Coolify versions before 4.0.0-beta.474 that utilize the specified database credential fields are at risk due to CVE-2026-42201.

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