# CVE-2026-27955: Coolify: Command Injection via Single-Quote Breakout in `executeInDocker()`

- Severity: Medium 6.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:L/I:L/A:L`
- 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.27%, higher than 20% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-30T14:36:41.055Z
- Modified: 2026-10-25T21:10:00.770Z
- 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.464, the executeInDocker() helper wraps commands in bash -c '{$command}' without escaping single quotes. User-controlled docker_compose_custom_build_command and docker_compose_custom_start_command fields are interpolated directly, allowing a single quote to break out of the bash -c argument and execute commands on the managed server host (outside the intended Docker container context). This vulnerability is fixed in 4.0.0-beta.464.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.464

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-6h8g-wpxp-cq98> (exploit)

## Sources

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

---

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