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

- Severity: Low 3.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.24%, higher than 16% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T03:29:13.739Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.474

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-f35h-g2c2-q36v> (exploit)
- <https://github.com/coollabsio/coolify/pull/9676>
- <https://github.com/coollabsio/coolify/commit/bff6d853708f3d7c861279586f107739036e67da>
- <https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474>

## Sources

- CVE List: [CVE-2026-42201](https://www.cve.org/CVERecord?id=CVE-2026-42201), CVE Terms of Use, modified 2026-07-07
- NVD: [CVE-2026-42201](https://nvd.nist.gov/vuln/detail/CVE-2026-42201), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-42201 · Whole record: https://cve.day/CVE-2026-42201.json · Rebuilt by cve.day 2026-11-25T22:59:27.281Z
