Command injection in 1Panel - CVE-2024-34352

 

Command injection in 1Panel - CVE-2024-34352

Published: May 9, 2024 / Updated: November 9, 2026


Vulnerability identifier: #VU162819
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-34352
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: No public exploit available

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.


Affected software

1Panel

How to mitigate CVE-2024-34352

Install security update from vendor's website.

1Panel - update to 1.10.3

External References

Related Security Bulletins