Unrated severityNVD Advisory· Published Jul 7, 2026· Updated Jul 7, 2026
Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands
CVE-2026-42201
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.
Affected products
2- Range: <4.0.0-beta.474
Patches
Vulnerability mechanics
References
4- github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67damitrex_refsource_MISC
- github.com/coollabsio/coolify/pull/9676mitrex_refsource_MISC
- github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474mitrex_refsource_MISC
- github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36vmitrex_refsource_CONFIRM
News mentions
0No linked articles in our index yet.