Coolify LocalFileVolume fs_path command injection enables RCE
coollabsio coolify
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| coollabsio coolify |
| No fix yet |
Original description
Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, LocalFileVolume::saveStorageOnServer builds shell commands using unescaped fs_path and parent_dir values before validation, and submitFileStorage does not validate the user-controlled file-mount path before creating a volume, allowing an authenticated user who can add file storage to execute commands when the storage is saved. This issue is fixed in version 4.0.0-beta.471.
From the CVE record · GitHub_M