# CVE-2024-48931: ZimaOS Arbitrary File Read via Parameter Manipulation

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.71%, higher than 54% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2024-10-24T20:49:44.077Z
- Modified: 2026-06-17T07:59:04.557Z
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: GitHub_M

## Description

ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.2.4 and all prior versions, the ZimaOS API endpoint `http://<Zima_Server_IP:PORT>/v3/file?token=<token>&files=<file_path>` is vulnerable to arbitrary file reading due to improper input validation. By manipulating the `files` parameter, authenticated users can read sensitive system files, including `/etc/shadow`, which contains password hashes for all users. This vulnerability exposes critical system data and poses a high risk for privilege escalation or system compromise. The vulnerability occurs because the API endpoint does not validate or restrict file paths provided via the `files` parameter. An attacker can exploit this by manipulating the file path to access sensitive files outside the intended directory. As of time of publication, no known patched versions are available.

(As written by CVE List.)

## Affected

- IceWhaleTech ZimaOS: <= 1.2.4; up to 1.2.4
- zimaspace zimaos: before 1.2.5

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-hjw2-9gq5-qgwj> (exploit, vendor-advisory)
- <https://youtu.be/FyIfcmCyDXs> (exploit)

## Sources

- CVE List: [CVE-2024-48931](https://www.cve.org/CVERecord?id=CVE-2024-48931), CVE Terms of Use, modified 2024-10-25
- NVD: [CVE-2024-48931](https://nvd.nist.gov/vuln/detail/CVE-2024-48931), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-48931 · Whole record: https://cve.day/CVE-2024-48931.json · Rebuilt by cve.day 2026-11-25T22:58:47.280Z
