Vulnerability · Published Jul 7, 2026 · Assigned by GitHub_M
CVE-2026-42201Coolify: OS Command Injection via Database Credential Fields in Docker Compose Service Commands
Low 3.3
In plain English
A low-severity OS command injection in coolify from coollabsio. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities).
Official 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 (as reported)
| Vendor | Product | Versions |
|---|---|---|
| coollabsio | coolify | < 4.0.0-beta.474 |
Weakness: CWE-78 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N
References
- https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v x_refsource_CONFIRM
- https://github.com/coollabsio/coolify/pull/9676 x_refsource_MISC
- https://github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67da x_refsource_MISC
- https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474 x_refsource_MISC