Security
Headlines
HeadlinesLatestCVEs

Headline

GHSA-gjqq-6r35-w3r8: Arcane Has a Command Injection in Arcane Updater Lifecycle Labels That 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.

ghsa
#rce#auth#docker

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.

References

  • GHSA-gjqq-6r35-w3r8
  • getarcaneapp/arcane#1468
  • getarcaneapp/arcane@5a9c2f9

ghsa: Latest News

GHSA-cwjm-3f7h-9hwq: Traefik's ACME TLS-ALPN fast path lacks timeouts and close on handshake stall