CVE-2026-42201

Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands

State
Published
Severity
3.3 Low
Published
Jul 7, 2026
Updated
Jul 7, 2026
Reserved
Apr 25, 2026

Read the record on cve.org

Description

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 (redis_password, keydb_password, dragonfly_password, clickhouse_admin_user, clickhouse_admin_password, postgres_user, mysql_user) 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.

Scores

CVSSScoreVectorSource
3.13.3 LowCVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:NGitHub_M

Weaknesses

  • CWE-78 Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Affected Products

ProductVersions
coolifycoollabsio
  • < 4.0.0-beta.474Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.