CVE-2025-34161 Coolify Git Repository Field Command Injection in Project Deployment Workflow

Critical 9.4 Published Updated

Authenticated low-privilege users can execute arbitrary shell commands on the host via the Git Repository field, leading to full server compromise.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2025-34161?

CVE-2025-34161 is a critical command injection vulnerability in coolLabs Technologies Coolify, published on 27 Aug 2025. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Coolify versions prior to v4.0.0-beta.420.7 are vulnerable to a remote code execution vulnerability in the project deployment workflow. The platform allows authenticated users, with low-level member privileges, to inject arbitrary shell commands via the Git Repository field during project creation. By submitting a crafted repository string containing command injection syntax, an attacker can execute arbitrary commands on the underlying host system, resulting in full server compromise.

Weakness: CWE-78, CWE-20

Which versions are affected by CVE-2025-34161?

It affects 1 product.

Products include Coollabs Coolify.

How do I fix CVE-2025-34161?

No fix has been published for CVE-2025-34161 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2025-34161 being exploited?

There is no known exploitation of CVE-2025-34161 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-xp99-74mm-rpv2.

Is CVE-2025-34161 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free