CVE-2026-42200: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in coollabsio coolify
CVE-2026-42200 is a path traversal vulnerability in coollabsio coolify prior to version 4.0.0-beta.474. The issue occurs in the PostgreSQL initialization script where filename handling did not properly restrict paths, allowing an authenticated user to write files outside the intended directory. This can lead to command execution through database initialization. The vulnerability is fixed in version 4.0.0-beta.474.
AI Analysis
Technical Summary
Coolify versions before 4.0.0-beta.474 contain a CWE-22 path traversal vulnerability in the generate_init_scripts() method of the PostgreSQL initialization script (app/Actions/Database/StartPostgresql.php). Insufficient restriction on file pathnames allows authenticated users to write files outside the intended directory, potentially enabling command execution during database initialization. This vulnerability has a CVSS 3.1 score of 8.8, indicating high severity. The issue is resolved in version 4.0.0-beta.474.
Potential Impact
An authenticated user can exploit this vulnerability to write files outside the intended directory, leading to potential command execution during PostgreSQL database initialization. This can compromise confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade to coolify version 4.0.0-beta.474 or later, where this vulnerability is fixed. Patch status is confirmed by the version fix stated in the description. No additional vendor advisory is provided, so check the vendor's official resources for any further guidance.
CVE-2026-42200: CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in coollabsio coolify
Description
CVE-2026-42200 is a path traversal vulnerability in coollabsio coolify prior to version 4.0.0-beta.474. The issue occurs in the PostgreSQL initialization script where filename handling did not properly restrict paths, allowing an authenticated user to write files outside the intended directory. This can lead to command execution through database initialization. The vulnerability is fixed in version 4.0.0-beta.474.
CVSS v3.1
Score 8.8high
Affected software
pkg:github/coollabsio/coolifyRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Coolify versions before 4.0.0-beta.474 contain a CWE-22 path traversal vulnerability in the generate_init_scripts() method of the PostgreSQL initialization script (app/Actions/Database/StartPostgresql.php). Insufficient restriction on file pathnames allows authenticated users to write files outside the intended directory, potentially enabling command execution during database initialization. This vulnerability has a CVSS 3.1 score of 8.8, indicating high severity. The issue is resolved in version 4.0.0-beta.474.
Potential Impact
An authenticated user can exploit this vulnerability to write files outside the intended directory, leading to potential command execution during PostgreSQL database initialization. This can compromise confidentiality, integrity, and availability of the affected system.
Mitigation Recommendations
Upgrade to coolify version 4.0.0-beta.474 or later, where this vulnerability is fixed. Patch status is confirmed by the version fix stated in the description. No additional vendor advisory is provided, so check the vendor's official resources for any further guidance.
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/07/2026, 03:51:17 UTC
Last updated: 07/07/2026, 03:51:17 UTC
Views: 3
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.