CVE-2025-34161: coollabsio Coolify remote code execution in Git Repository field

CVE-2025-34161 · Severity: high · CVSS 8.8 · Published 2025-08-27

Coolify, an open-source platform for deploying web applications and databases, is vulnerable to a security flaw that allows users with low-level access to take full control of the server. By entering a specially crafted string into the Git Repository field during project setup, an attacker can execute unauthorized commands on the underlying host system. This could lead to the theft of sensitive data, service outages, or complete server compromise.

Quick answers

Is CVE-2025-34161 exploited in the wild?
No. Junglewise Threat Intelligence has no report of CVE-2025-34161 being exploited in the wild.
How severe is CVE-2025-34161?
High severity, with a CVSS score of 8.8, published 27 August 2025.
Which products and versions are affected?
coollabsio Coolify prior to v4.0.0-beta.420.7.
Is there a fix for CVE-2025-34161?
A patch was published on 2025-08-26: Version v4.0.0-beta.420.7 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
How is CVE-2025-34161 attacked?
It is attacked over the network, in a network appliance.
Am I affected by CVE-2025-34161?
Check whether anything you run is named in the advisory. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

Technical details

A remote code execution (RCE) vulnerability exists in Coolify's project deployment workflow due to improper neutralization of special elements used in OS commands (CWE-78). Authenticated users with low-level 'member' privileges can inject arbitrary shell commands via the Git Repository URL field when creating a new project. The application fails to properly sanitize this input before passing it to the underlying system shell during the deployment process. An attacker can exploit this by submitting a crafted repository string (e.g., using semicolons or command substitution) to execute arbitrary code on the host server. The issue is resolved in version v4.0.0-beta.420.7.

Affected products

  • coollabsio Coolify prior to v4.0.0-beta.420.7

Timeline

  • 2025-08-26: patched: Version v4.0.0-beta.420.7 released
  • 2025-08-27: advisory: CVE-2025-34161 published

References

This page as Markdown. Free to reuse under CC BY 4.0 with a link back.