CVE-2026-24841 Command injection in dokploy

Critical 9.9 Published Updated

Authenticated attackers can execute arbitrary commands on the host server via command injection in the Docker container terminal WebSocket endpoint.

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-24841?

CVE-2026-24841 is a critical command injection vulnerability in dokploy, published on 28 Jan 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Dokploy is a free, self-hostable Platform as a Service (PaaS). In versions prior to 0.26.6, a critical command injection vulnerability exists in Dokploy's WebSocket endpoint `/docker-container-terminal`. The `containerId` and `activeWay` parameters are directly interpolated into shell commands without sanitization, allowing authenticated attackers to execute arbitrary commands on the host server. Version 0.26.6 fixes the issue.

Weakness: CWE-78

Which versions are affected by CVE-2026-24841?

It affects 1 product.

Products include Dokploy Dokploy.

How do I fix CVE-2026-24841?

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

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

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-vx6x-6559-x35r.

Is CVE-2026-24841 in your software?

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

Check your SBOMs for free