CVE-2026-34152 Coolify: Command Injection via Newline in Pre/Post Deployment Commands (Heredoc Transport)

High 8.8 Published Updated

Authenticated users can inject shell commands via newlines in deployment scripts, leading to remote code execution on the server.

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-2026-34152?

CVE-2026-34152 is a high-severity command injection vulnerability in coollabsio coolify, published on 7 Jul 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. Prior to 4.0.0-beta.471, pre-deployment and post-deployment commands are single-quote escaped but then sent through SSH heredoc transport that preserves newlines, allowing an authenticated user to inject additional shell statements that execute on the remote server during deployment. This issue is fixed in version 4.0.0-beta.471.

Weakness: CWE-78

Which versions are affected by CVE-2026-34152?

How do I fix CVE-2026-34152?

No fix has been published for CVE-2026-34152 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-2026-34152 being exploited?

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

Sources

Also known as GHSA-5qp8-9gg7-4c86.

Is CVE-2026-34152 in your software?

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

Check your SBOMs for free