CVE-2026-59737: coollabsio/coolify Privilege Escalation

CVE-2026-59737

NVD

Vulnerability Summary

Summary `validateDockerComposeForInjection()` only checked service names and `services[].volumes` for shell metacharacters. All other Compose directives were passed unchanged to `docker compose up`. On affected versions, any team member could deploy a Compose stack and gain root on the host via `/var/run/docker.sock`, `/:/host`, `secrets.*.file`, `privileged`, namespace sharing, or other dangerous Compose options. On the default single-node setup, the deployment host is also the control plane, so host compromise means compromise of the entire Coolify instance and all teams. Verified chain: member mounts Docker socket β†’ `docker exec coolify php artisan tinker` β†’ creates an `owner` in team 0 β†’ UI Terminal gives a root PTY. ```yaml services: app: image: docker:cli volumes: - /var/run/docker.sock:/var/run/docker.sock command: ["docker", "ps"] ``` Patch Fixed in 4.2.0 by #10799, which restricted resource creation, editing, and deployment to team admins. The validator itself remains unchanged as of 4.3.9. Dangerous Compose directives are still accepted, but admins and owners already have terminal access, so this is no longer a privilege escalation. Incomplete fix for CVE-2025-59156 and bypass of CVE-2025-64419.
Severity Level
CRITICAL(9.9)
Published Date
Dec 1, 2026
Last Modified
Dec 1, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
The product receives input or data, but it does not validate or incorrectly validates that the input has the properties that are required.
The product does not properly assign, modify, track, or check privileges for an actor, creating an unintended sphere of control.
CVSS v3.1 Base Metrics — Score 9.9
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Attack VectorNetwork
Attack ComplexityLow
Privileges RequiredLow
User InteractionNone
ScopeChanged
ConfidentialityHigh
IntegrityHigh
AvailabilityHigh

Affected & Patched Versions

Affected Versions
  • coollabsio/coolify >= 4.0.0-beta.436, < 4.2.0
Patched Versions
  • coollabsio/coolify 4.2.0

What to do

Plan remediation soon. No exploitation is confirmed yet, but the severity is critical.

  1. Check whether you run coollabsio/coolify and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Dec 1, 2026Published
  • Dec 1, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new coollabsio/coolify CVEsYou are reading CVE-2026-59737. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Dec 1, 2026 23:01 UTC