{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "08b34bfef87907074be8937abc337745f08ec966"
            }
          ],
          "repo": "https://github.com/icewhaletech/zimaos",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-hjw2-9gq5-qgwj"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48931.json"
  },
  "details": "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://\u003cZima_Server_IP:PORT\u003e/v3/file?token=\u003ctoken\u003e\u0026files=\u003cfile_path\u003e` 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.",
  "id": "CVE-2024-48931",
  "modified": "2026-04-01T23:07:52.457429269Z",
  "published": "2024-10-24T20:49:44.077Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://youtu.be/FyIfcmCyDXs"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48931.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-hjw2-9gq5-qgwj"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-48931"
    }
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "ZimaOS Arbitrary File Read via Parameter Manipulation"
}