All posts

Critical vulnerabilities

2 critical vulnerabilities in Coolify

2 vulnerabilities rated critical (CVSS 9.0 or higher) found on 1 December 2026: Broken access control in servers and applications.

  • 2 critical

Broken access control in Coolify · Servers and applications

CVE-2026-48739

Cross-tenant Docker network and server attach in Coolify via `Project\Shared\Destination` Livewire

Severity
Critical 9.9
Published
1 Dec 2026
Fixed in
4.1.1
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down

A cross-tenant authorization bypass in Project\Shared\Destination Livewire allows any authenticated user on a multi-team Coolify instance to attach their own application to any Docker network or server registered anywhere on the instance — including the Coolify orchestrator host itself. On the next deploy, the attacker's container runs as root on the foreign host with shared-Docker-network access to every co-tenant container on that host.

Project\Shared\Destination::promote(network_id, server_id) and ::addServer(network_id, server_id) accept arbitrary integer IDs from the client and pass them directly to the additional_networks()->attach(...) relation. Neither method calls $this->authorize() and neither scopes the lookup via Server::ownedByCurrentTeam() or StandaloneDocker::ownedByCurrentTeam().

Affected component:

  • app/Livewire/Project/Shared/Destination.php
  • promote(int $network_id, int $server_id) — line 111
  • addServer(int $network_id, int $server_id) — line 131
From coollabsio/coolify's security advisory. Shortened; the full text is there.
SoftwareAffected versions
CoolifyServers and applications
  • From 4.0.0 before 4.1.1
Everything about CVE-2026-48739

Coolify · Servers and applications

CVE-2026-59737

Incomplete Docker Compose validation allows host compromise and cross-tenant access

Severity
Critical 9.9
Published
1 Dec 2026
Fixed in
4.2.0
Weakness
Improper input validation (CWE-20)Improper privilege management (CWE-269)
Attack
Over the network · Needs a user account · No user action needed
Attacker can
Read data · Change data · Take it down

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.

From coollabsio/coolify's security advisory.
SoftwareAffected versions
CoolifyServers and applications
  • From 4.0.0-beta.436 before 4.2.0
Everything about CVE-2026-59737

From NVD, the CVE Program, OSV.dev with the GitHub Advisory Database, WPVulnerability, WordPress's security advisories and CISA's Known Exploited Vulnerabilities catalog, as they stood when this was written. Each vulnerability's own page has its latest rating and fix. This product uses the NVD API but is not endorsed or certified by the NVD.