CVE-2026-34049 Coolify: Command Injection via unsanitized MongoDB collection names in database backup

Low 3.3 Published Updated

A privileged attacker can inject shell commands via unsanitized MongoDB collection names during database backups in Coolify.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-34049?

CVE-2026-34049 is a low-severity command injection vulnerability in coollabsio coolify, published on 6 Jul 2026. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

Coolify is an open-source and self-hostable tool for managing servers, applications, and databases. From 4.0.0-beta.451 through 4.0.0-beta.470, database backup handling for MongoDB collection names did not fully validate shell metacharacters, allowing a highly privileged attacker who can configure backup inputs to inject commands. This issue is fixed in version 4.0.0-beta.471.

Weakness: CWE-78

Which versions are affected by CVE-2026-34049?

How do I fix CVE-2026-34049?

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

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-34049 exists.

Sources

Also known as GHSA-4mpw-wcj4-v9pp.

Is CVE-2026-34049 in your software?

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

Check your SBOMs for free