Loading advisory.
Loading advisory.
1Panel arbitrary file write vulnerability
An arbitrary file write vulnerability could lead to direct control of the server In the api/v1/file.go file, there is a function called SaveContentthat,It recieves JSON data sent by users in the form of a POST request.
Published 2023-08-10 17:46 UTC · Modified 2026-03-03 04:54 UTC
Severity and EPSS are shown separately. Helm does not combine them into one score.
| Package | Ecosystem | Affected | Fixed in | Upgrade command |
|---|---|---|---|---|
| github.com/1Panel-dev/1Panel | Go | >= 1.4.3, < 1.5.0 versions 1.4.3 | 1.5.0 | go get github.com/1Panel-dev/1Panel@v1.5.0 |
An arbitrary file write vulnerability could lead to direct control of the server
In the api/v1/file.go file, there is a function called SaveContentthat,It recieves JSON data sent by users in the form of a POST request. And the lack of parameter filtering allows for arbitrary file write operations.It looks like this:
Vulnerable Code
We can write the SSH public key into the /etc/.root/authorized_keys configuration file on the server.
The server was successfully written to the public key 微信图片_20230801093610
Successfully connected to the target server using an SSH private key. 微信图片_20230801093933 微信图片_20230801094037
As a result, the server is directly controlled, causing serious harm
1Panel v1.4.3
No public exploit code known to Helm's sources (Nuclei templates, Metasploit, Exploit-DB and PoC-in-GitHub). That does not mean none exists.
EPSS went from 0.008 on 2026-11-24 to 0.009 on 2026-11-26, over 2 recorded scores.
| Date | Score | Previous | Model |
|---|---|---|---|
| 2026-11-24 | 0.008 | first score | v2026.06.15 |
| 2026-11-26 | 0.009 | 0.008 | v2026.06.15 |