Command injection in 1Panel - CVE-2024-34352
Published: May 9, 2024 / Updated: November 9, 2026
Vulnerability details
The vulnerability allows an authenticated attacker to write arbitrary files on the host running 1Panel.
The vulnerability exists due to insufficient filtering of shell redirection characters in the container log endpoint's container parameter. An authenticated attacker can deploy a container producing controlled output and submit a crafted log request to write that output to a chosen host file, enabling host takeover when 1Panel runs as root.