---
id: CVE-2025-34157
title: >-
  Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a stored
  cross-site scripting (XSS) attack in the project creation workflow
summary: >-
  Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a stored
  cross-site scripting (XSS) attack in the project creation workflow. An
  authenticated user with low privileges can create a project with a maliciously
  crafted name con…
severity: critical
cvss: 9
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H'
cwe:
  - CWE-20
  - CWE-79
  - CWE-79
vendor: coollabs
product: coolify
affected:
  - coolify < 4.0.0
  - coolify = 4.0.0
patched:
  - coolify 4.0.0
published: '2025-08-27'
updated: '2026-07-14'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2025-34157'
references:
  - url: 'https://coolify.io/'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/Eyodav/CVE-2025-34157'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/coollabsio/coolify/releases/tag/v4.0.0-beta.420.7'
    label: disclosure@vulncheck.com
tags:
  - nvd
  - exploit-available
epss: 0.00462
epssPercentile: 0.37332
ingestedAt: '2026-07-15T13:44:02.962Z'
exploits:
  github: 1
  githubRepos:
    - 'https://github.com/Eyodav/CVE-2025-34157'
  checkedAt: '2026-09-25T08:20:45.137Z'
exploitAvailable: true
---

## Overview

Coolify versions prior to v4.0.0-beta.420.6 are vulnerable to a stored cross-site scripting (XSS) attack in the project creation workflow. An authenticated user with low privileges can create a project with a maliciously crafted name containing embedded JavaScript. When an administrator attempts to delete the project or its associated resource, the payload executes in the admin’s browser context. This results in full compromise of the Coolify instance, including theft of API tokens, session cookies, and access to WebSocket-based terminal sessions on managed servers.

## Affected

- `coolify < 4.0.0`
- `coolify = 4.0.0`

## Remediation

Upgrade past the affected range:

- `coolify 4.0.0`
