Read the docs
TI-2026-30521 Aliases CVE-2026-42200

Coolify: PostgreSQL Init Script Path Traversal Leads to Arbitrary File Write and Root RCE

Priority HIGH 73CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00661 51st percentileScored 2026-11-07
Fix Fixed coolify (coollabsio): 4.0.0-beta.474

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
coollabsiocoolifybefore 4.0.0-beta.4744.0.0-beta.474Patch availableCNA
  • coolify Vendorcoollabsio Affected before 4.0.0-beta.474 Fixed in 4.0.0-beta.474 Patch available CNA

CPE names Threatist (inferred) · 1

Inferred from how NVD named this product before; not given by a source.

CPEVersionsRoleVendor
cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:*——coollabsio
  • cpe:2.3:a:coollabs:coolify:*:*:*:*:*:*:*:* Versions — — ·coollabsio

Remediation

  • Fix · CNA coolify (coollabsio) Fixed in 4.0.0-beta.474

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-42200

References

  • TI-2025-40716 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in File Storage Directory Mount Path CVSS 4.0CRITICAL 9.4
  • TI-2025-40715 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Dynamic Proxy Configuration Filename CVSS 4.0CRITICAL 9.4
  • TI-2025-40714 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in PostgreSQL Init Script Filename CVSS 4.0CRITICAL 9.4
  • TI-2025-40713 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Import CVSS 4.0CRITICAL 9.4
  • TI-2025-40712 Coolify Vulnerable to Authenticated Remote Code Execution via Command Injection in Database Backup CVSS 3.1CRITICAL 10.0
  • TI-2025-16498 Coolify Vulnerable to Private Key Enumeration on Onboarding resulting in Remote Command Execution (RCE) CVSS 3.1CRITICAL 10.0
See all 78 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences