Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.5%top 57%

CVE-2026-42200: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in coollabsio coolify

0
High
VulnerabilityCVE-2026-42200cvecve-2026-42200cwe-22
Published: 07/07/2026 (07/07/2026, 02:48:04 UTC)
Source: CVE Database V5
Vendor/Project: coollabsio
Product: coolify

Description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.474, PostgreSQL initialization script (generate_init_scripts() method in app/Actions/Database/StartPostgresql.php) filename handling did not sufficiently restrict paths, allowing an authenticated user to write files outside the intended directory and achieve command execution through database initialization. This issue is fixed in version 4.0.0-beta.474.

CVSS v3.1

Score 8.8high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
coollabsio/coolify
pkg:github/coollabsio/coolify
Affected versions
=4.0.0-beta.474

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 07/14/2026, 09:08:28 UTC

Technical Analysis

CVE-2026-42200 is a path traversal vulnerability (CWE-22) in coollabsio's Coolify product affecting versions before 4.0.0-beta.474. The vulnerability exists in the generate_init_scripts() method of app/Actions/Database/StartPostgresql.php, where filename handling does not sufficiently restrict paths. This allows an authenticated user to write files outside the intended directory, enabling command execution through database initialization. The vulnerability is resolved in version 4.0.0-beta.474.

Potential Impact

An authenticated user can exploit this vulnerability to write arbitrary files outside the intended directory, which can lead to command execution during PostgreSQL database initialization. This can compromise confidentiality, integrity, and availability of the affected system.

Mitigation Recommendations

Upgrade to version 4.0.0-beta.474 or later, where this vulnerability is fixed. Patch status is confirmed by the version information indicating the fix in 4.0.0-beta.474. No additional vendor advisory is provided, so check the vendor's official channels for further updates.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-04-25T05:04:37.027Z
Cvss Version
3.1
State
PUBLISHED
Remediation Level
null

Threat ID: 6a4c745c27e9c79719d47777

Added to database: 07/07/2026, 03:37:00 UTC

Last enriched: 07/14/2026, 09:08:28 UTC

Last updated: 08/19/2026, 08:14:48 UTC

Views: 106

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses