{"id":"CVE-2024-2352","aliases":["GHSA-x2vg-5wrf-vj6v","GO-2024-2636"],"url":"https://o3.security/vulnerability/CVE-2024-2352","summary":"1Panel swap baseApi.UpdateDeviceSwap command injection","details":"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.","published":"2024-03-10T01:31:05.215Z","modified":"2026-08-12T03:51:17.836562790Z","cvss":{"score":6.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Go","name":"github.com/1Panel-dev/1Panel","fixedVersion":"1.10.1-lts"}],"fix":{"url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c","label":"1Panel-dev/1Panel#4131"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/2xxx/CVE-2024-2352.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-2352"},{"type":"ADVISORY","url":"https://vuldb.com/?id.256304"},{"type":"REPORT","url":"https://github.com/1Panel-dev/1Panel/pull/4131"},{"type":"REPORT","url":"https://github.com/1Panel-dev/1Panel/pull/4131#issue-2176105990"},{"type":"REPORT","url":"https://vuldb.com/?ctiid.256304"},{"type":"FIX","url":"https://github.com/1Panel-dev/1Panel/pull/4131/commits/0edd7a9f6f5100aab98a0ea6e5deedff7700396c"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T03:51:17.836562790Z"}}