CVE-2026-23520: Arcane has a Command Injection in Arcane Updater Lifecycle Labels Enables RCE
Summary
Arcane’s updater service supported lifecycle labels com.getarcaneapp.arcane.lifecycle.pre-update and com.getarcaneapp.arcane.lifecycle.post-update that allowed defining a command to run before or after a container update. The label value is passed directly to /bin/sh -c without sanitization or validation.
Because any authenticated user (not limited to administrators) can create projects through the API, an attacker can create a project that specifies one of these lifecycle labels with a malicious command. When an administrator later triggers a container update (either manually or via scheduled update checks), Arcane reads the lifecycle label and executes its value as a shell command inside the container.
If the container is configured with host volume mounts in its Compose definition, the executed command may be able to read from or write to the host filesystem through the mounted paths. This can enable data theft and, in some configurations, escalation to full host compromise (for example, if /var/run/docker.sock is mounted).
Impact
- Remote code execution (RCE) within the updated container context. - Host filesystem access when host volumes are mounted into the container. - Potential data exfiltration via outbound network requests or by exposing readable files. - Potential full host compromise if sensitive mounts are present (e.g., /var/run/docker.sock).
Patches The lifecycle labels com.getarcaneapp.arcane.lifecycle.pre-update and com.getarcaneapp.arcane.lifecycle.post-update have been removed to eliminate this attack surface.
Other sources
Arcane provides modern docker management. Prior to 1.13.0, Arcane has a command injection in the updater service. Arcane’s updater service supported lifecycle labels com.getarcaneapp.arcane.lifecycle.pre-update and com.getarcaneapp.arcane.lifecycle.post-update that allowed defining a command to run before or after a container update. The label value is passed directly to /bin/sh -c without sanitization or validation. Because any authenticated user (not limited to administrators) can create projects through the API, an attacker can create a project that specifies one of these lifecycle labels with a malicious command. When an administrator later triggers a container update (either manually or via scheduled update checks), Arcane reads the lifecycle label and executes its value as a shell command inside the container. This vulnerability is fixed in 1.13.0.
— MITRE
Affected Software
Event History
Frequently Asked Questions
What is the severity of CVE-2026-23520?
CVE-2026-23520 is classified as a critical vulnerability due to its potential for remote code execution.
How do I fix CVE-2026-23520?
To fix CVE-2026-23520, update Arcane to version 1.13.0 or later, which addresses the command injection issue.
What versions of Arcane are affected by CVE-2026-23520?
Versions of Arcane prior to 1.13.0 are affected by CVE-2026-23520.
What happens if CVE-2026-23520 is exploited?
If exploited, CVE-2026-23520 allows an attacker to execute arbitrary commands on the system, leading to potential system compromise.
Is there a workaround for CVE-2026-23520 while awaiting a patch?
There are currently no recommended workarounds for CVE-2026-23520; it is essential to upgrade to a fixed version.