All vulnerabilities

Servers and applications

CVE-2026-34168

Command injection via unsanitized persistent storage name in docker volume commands

Severity
High 8.8
Published
2 Jul 2026
Last changed
2 Jul 2026
Added to UpHeron
22 Oct 2026
Fixed in
4.0.0-beta.471
Exploit chance
0.5% in the next 30 daysHigher than 44% of CVEs. EPSS by FIRST, 19 Nov 2026
Weakness
OS command injection (CWE-78)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Also known as
GHSA-mh8x-fppq-cp77
Sources
Project advisories (GitHub)

Description

The LocalPersistentVolume.name field is interpolated directly into shell commands (docker volume rm -f $storage->name) without escapeshellarg(). An authenticated user can set a storage name containing shell metacharacters via the API, achieving command execution on managed servers when the resource is deleted.

This is the same class of bug as CVE-2025-66213 (which fixed LocalFileVolume.fs_path) but in a different model and code path that was not patched.

app/Actions/Service/DeleteService.php:36:

Same pattern in Application.php:393, ApplicationPreview.php:29,40, StandaloneRedis.php:143, StandaloneClickhouse.php, StandaloneMongodb.php, StandaloneMariadb.php, StandaloneDragonfly.php.

instant_remote_process() joins commands with newlines into a bash heredoc via SSH. No escaping.

API PATCH app/Http/Controllers/Api/ApplicationsController.php update_storage():

From coollabsio/coolify's security advisory. Shortened; the full text is there.

Affected software

SoftwareAffected versions
CoolifyServers and applications · github:coollabsio/coolify
  • Every version before 4.0.0-beta.471

About Coolify

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

From its GitHub repository.
Docker Hub pulls
4,970,195Docker Hub, 15 Nov 2026
GitHub stars
66,095GitHub, 15 Nov 2026
Forks
5,989GitHub, 15 Nov 2026
Latest release
v4.7.5GitHub, 15 Nov 2026
Released
10 Nov 2026GitHub
License
Apache-2.0GitHub
First published on GitHub
25 Jan 2021GitHub

References