Skip to main content

Coolify CVE-2026-42172

| EUVDEUVD-2026-41980 LOW
Insufficient Session Expiration (CWE-613)
2026-07-07 GitHub_M
3.1
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain leaked Coolify API token
  2. Exploit
    Authenticate to Coolify API endpoint
  3. Execution
    Query API for server and application configuration
  4. Impact
    Exfiltrate sensitive deployment data

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to first obtain a valid Coolify Sanctum API token through a separate vector - the CVSS PR:L metric confirms a low-privilege authenticated credential is necessary; unauthenticated exploitation is not possible. The AC:H metric reflects the prerequisite that a token must be leaked or stolen before this vulnerability becomes relevant. The vulnerability does not enable initial compromise on its own; it only extends the window of access after a token has already been obtained. Exploitation is further limited to instances where the Coolify API is network-accessible (AV:N), but self-hosted deployments commonly expose the API to internal networks or the internet. There is no requirement for user interaction (UI:N), meaning once a token is obtained, the attacker can operate autonomously. The scope is unchanged (S:U), so exploitation cannot pivot to other systems beyond the Coolify instance itself.

Impact

The CVSS 3.1 score of 3.1 (AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N) accurately reflects the constrained nature of this vulnerability. AC:H is appropriate because exploitation requires a precondition: the attacker must first obtain a valid API token through a separate compromise vector such as log exposure, insecure backup storage, or developer workstation compromise. PR:L confirms an authenticated token is required. The impact is limited to confidentiality (C:L) with no integrity or availability consequence, consistent with the Information Disclosure tag. No EPSS data was provided in the input, and this CVE has no CISA KEV listing and no known public exploit code - the real-world risk is therefore low to moderate, primarily relevant for environments where token leakage is plausible (e.g., shared secrets in CI pipelines or publicly accessible logs). The principal danger is not acute exploitation but silent, prolonged unauthorized access after a token leak that goes undetected because the token never expires.

Exploit ScenarioDerived

An attacker who intercepts a Coolify API token - for example, from an exposed environment variable in a public repository, an unprotected log file, or a compromised CI/CD pipeline - can use that token indefinitely to query the Coolify API and retrieve sensitive configuration data about managed servers, applications, and databases. Because the token never expires, the attacker retains access silently even after the original credential leak is forgotten or the legitimate user rotates their password. No public proof-of-concept code has been identified at time of analysis.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jul 07, 2026

Sanctum API tokens in Coolify never expire prior to v4.0.0-beta.474, meaning any token that is leaked or stolen remains permanently valid until an administrator manually revokes it. This affects the self-hosted server, application, and database management platform across all versions below 4.0.0-beta.474. An attacker who obtains a valid API token via secondary means retains indefinite read access to the Coolify API without natural time-bounded expiry as a safeguard. No public exploit has been identified at time of analysis, and the low CVSS score of 3.1 reflects the constrained real-world impact.

RemediationAI

The primary fix is to upgrade Coolify to v4.0.0-beta.474 or later, available at https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.474. After upgrading, administrators should audit and revoke all existing Sanctum API tokens as a precautionary measure, since previously issued tokens under the old behavior had no expiry and may already be circulating. As a compensating control before patching, administrators can manually revoke tokens via the Coolify UI for any users or service accounts whose tokens may have been exposed; note that this is a reactive measure and does not prevent future indefinite-lifetime issuance without the patch. Restricting API access to trusted network segments or VPN can limit the blast radius of any leaked token but does not address the root cause.

Affected VersionsENISA

coolify < 4.0.0-beta.474

Affected Packages

euvd coolify fix: 4.0.0-beta.474

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Coolify (CPE: cpe:2.3:a:coollabsio:coolify:*) is a PHP/Laravel-based self-hosted management platform that uses Laravel Sanctum for API token authentication. CWE-613 (Insufficient Session Expiration) describes the root cause: Sanctum tokens were issued without an expiration timestamp, violating the security principle that credentials should have bounded lifetimes. This is a design-level omission in token lifecycle management rather than a memory corruption or injection flaw. The fix was introduced via pull request #9677 (commit b1a78df58efe3ac38679d18c888b5817c7f01216) and shipped in release v4.0.0-beta.474, indicating the remediation involved adding token expiry enforcement to the Sanctum configuration.

Know when Coolify gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 3.1 LOW
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 3.1 LOW

Token leak is a required precondition (AC:H, PR:L); read-only API access limits impact to C:L with no integrity or availability consequence.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Jul 07, 2026 - 05:01 EUVD

DescriptionCVE.org

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, Sanctum API tokens did not expire, allowing a leaked token to retain access indefinitely until manually revoked. This issue is fixed in version 4.0.0-beta.474.

Threat Intelligence Overview

EPSS Score
0.2%
Top 91% exploitable
Prevalence
Low
niche self-hosted DevOps tool, limited enterprise footprint
Social Media
1
Sightings
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

16
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +16
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

CVE-2026-57498 CRITICAL POC
9.6 Jun 29

Cross-team authorization bypass in Coolify (open-source self-hosted PaaS) before 4.0.0-beta.474 allows an authenticated,

CVE-2025-34161 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deplo

CVE-2025-34159 CRITICAL POC
9.4 Aug 27

Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a remote code execution vulnerability in the application d

CVE-2025-64424 CRITICAL POC
9.4 Jan 05

Command injection in Coolify up to and including v4.0.0-beta.434 lets any authenticated low-privileged 'member' execute

CVE-2025-59156 CRITICAL POC
9.4 Jan 05

Remote code execution on the host OS is possible through Coolify's application deployment workflow prior to version 4.0.

CVE-2025-66211 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify's PostgreSQL initialization-script filename handling allows users with applic

CVE-2025-66210 CRITICAL POC
9.4 Dec 23

Coolify versions prior to 4.0.0-beta.451 pass user-supplied database names unsanitized into shell commands executed via

CVE-2025-66213 CRITICAL POC
9.4 Dec 23

Authenticated Coolify users who hold application or service management permissions can execute arbitrary commands as roo

CVE-2025-66212 CRITICAL POC
9.4 Dec 23

Authenticated command injection in Coolify before 4.0.0-beta.451 lets users with application or service management permi

CVE-2025-59158 CRITICAL POC
9.4 Jan 05

Stored cross-site scripting in Coolify versions up to and including v4.0.0-beta.420.6 lets an authenticated low-privileg

CVE-2026-34594 HIGH POC
8.8 Jun 29

Authenticated OS command injection in Coolify before 4.0.0-beta.471 lets any user holding destination management permiss

CVE-2026-34597 HIGH POC
8.8 Jun 29

Authenticated remote code execution in Coolify (self-hosted PaaS) before 4.0.0-beta.470 lets a low-privileged authentica

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy