1Panel swap baseApi.UpdateDeviceSwap command injection
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-77.
Summary
A vulnerability, which was classified as critical, has been found in 1Panel up to 1.10.1-lts. Affected by this issue is the function baseApi.UpdateDeviceSwap of the file /api/v1/toolbox/device/update/swap. The manipulation of the argument Path with the input 123123123\nopen -a Calculator leads to command injection. The attack may be launched remotely. The exploit has been disclosed to the public and may be used. It is recommended to apply a patch to fix this issue. The identifier of this vulnerability is VDB-256304.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- Poc
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | 1Panel | 1.10.1-lts | — | No fix listed | CNA |
| — | github.com/1Panel-dev/1Panel (Go) | before 1.10.1-lts | 1.10.1-lts | Patch available | GHSA-x2vg-5wrf-vj6v |
- 1Panel Vendor— Affected 1.10.1-lts Fixed in — No fix listed CNA
- github.com/1Panel-dev/1Panel (Go) Vendor— Affected before 1.10.1-lts Fixed in 1.10.1-lts Patch available GHSA-x2vg-5wrf-vj6v
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* | before 1.10.2-lts | Vulnerable | 1Panel-dev |
- cpe:2.3:a:fit2cloud:1panel:*:*:*:*:*:*:*:* Versions before 1.10.2-lts Vulnerable ·1Panel-dev
Remediation
- Fix · GHSA-x2vg-5wrf-vj6v github.com/1Panel-dev/1Panel (Go) Fixed in 1.10.1-lts Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2024-2352
- 2026-10-03 Alias added: GHSA-x2vg-5wrf-vj6v
References
Exploit 2
Patch 1
More 1Panel-dev 1panel vulnerabilities
- TI-2024-26801 a sqlinjection in 1Panel CVSS 3.1CRITICAL 9.8
- TI-2023-20859 1Panel arbitrary file write vulnerability exists in the background CVSS 3.1CRITICAL 9.8
- TI-2025-34229 1Panel Agent Bypasses Certificate Verification Leading to Arbitrary Command Execution CVSS 3.1CRITICAL 9.8
- TI-2025-35333 OS Command injection vulnerability in function OperateSSH in 1panel 2.0.8 allowing… CVSS 3.1HIGH 8.8
- TI-2023-19085 Command injection in firewall ip functionality in 1Panel CVSS 3.1HIGH 8.8
- TI-2023-20857 1Panel O&M management panel has a background arbitrary file reading vulnerability CVSS 3.1HIGH 7.5
Sources
- CVE-2024-2352 · CVE Program
- CVE-2024-2352 · NVD
- FIRST EPSS
- GHSA-x2vg-5wrf-vj6v · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences