Quick answers
- Is CVE-2026-34158 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-34158 being exploited in the wild.
- How severe is CVE-2026-34158?
- High severity, with a CVSS score of 8.8, published 7 July 2026.
- Which products and versions are affected?
- coollabsio Coolify < 4.0.0-beta.469.
- Is there a fix for CVE-2026-34158?
- No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.
- How is CVE-2026-34158 attacked?
- It is attacked over the network, in a network appliance.
- Am I affected by CVE-2026-34158?
- Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
An OS command injection vulnerability exists in the `executeInDocker()` helper function within `bootstrap/helpers/docker.php`. The function wraps user-provided commands in single quotes for execution via `bash -c` but fails to escape embedded single quotes. An authenticated attacker with permissions to edit application settings can inject a single quote into the `docker_compose_custom_build_command` or `docker_compose_custom_start_command` fields. This terminates the quoted string and allows the execution of arbitrary shell commands on the managed server host with the privileges of the SSH user (often root). The vulnerability is reachable via the API (PATCH /api/v1/applications/{uuid}) or the Livewire UI. The issue is resolved in version 4.0.0-beta.469 by implementing proper single-quote escaping.
Affected products
- coollabsio Coolify < 4.0.0-beta.469
Timeline
- 2026-07-02: advisory: GitHub Security Advisory published
- 2026-07-07: disclosed: CVE published to NVD