# CVE-2026-34158: Coolify: Command injection via single-quote breakout in Docker Compose custom commands

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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.43%, higher than 38% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-07T03:28:33.647Z
- Modified: 2026-10-25T20:10:00.147Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.469, the executeInDocker() helper wraps user-controlled commands in single quotes without escaping embedded single quotes. Attackers who can edit application settings can inject a single quote into docker_compose_custom_build_command or docker_compose_custom_start_command to break out of the quoted context and execute arbitrary commands on the managed server host during deployments, escaping the intended Docker container confinement. This issue is fixed in version 4.0.0-beta.469.

(As written by CVE List.)

## Affected

- coollabsio coolify: < 4.0.0-beta.469

## References

- <https://github.com/coollabsio/coolify/security/advisories/GHSA-j6j2-frv3-g6f7> (exploit)

## Sources

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

---

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