Skip to content
Heist/ feed
Back to feed
Medium

ZimaOS reads arbitrary files using localhost calls to File API Download

Type: advisorySources: OSV

ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.4.1 and earlier, the /v2_1/files/file/download endpoint allows file read from ANY USER who has access to localhost. File reads are performed AS ROOT.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-58431
Confirmed fixed CVEs
Not specified
Updated in this feed
7 Nov 2026, 12:35 UTC · Revision 1

Source evidence

ZimaOS reads arbitrary files using localhost calls to File API Download

core-osv · Original source

Published 17 Sept 2025, 17:25 UTC

ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.4.1 and earlier, the /v2_1/files/file/download endpoint allows file read from ANY USER who has access to localhost. File reads are performed AS ROOT.

osv:CVE-2025-58431
Complete source record
{
  "id": "1480e0a559ad10504c6a3c7bef5d9b15f68e8e02c6fa3fcf238a1345ec9e874b",
  "url": "https://osv.dev/vulnerability/CVE-2025-58431",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "ZimaOS reads arbitrary files using localhost calls to File API Download",
    "summary": "ZimaOS is a fork of CasaOS, an operating system for Zima devices and x86-64 systems with UEFI. In version 1.4.1 and earlier, the /v2_1/files/file/download endpoint allows file read from ANY USER who has access to localhost. File reads are performed AS ROOT.",
    "evidence": "osv:CVE-2025-58431",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2025-58431",
      "aliases": [
        "CVE-2025-58431",
        "GHSA-vqrw-9v9m-6g87"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:H/SI:N/SA:N/E:P"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/icewhaletech/zimaos",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "last_affected": "091b5355a157924b14a733c1f0e520f2f8627fd6"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "last_affected": "1.4.1"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  }
                ]
              }
            }
          ],
          "versions": [
            "1.4.1",
            "1.4.1-beta2",
            "1.4.1-beta1",
            "1.4.0",
            "1.4.0-beta2",
            "1.4.0-beta1",
            "1.3.3",
            "1.3.3-beta1",
            "1.3.2-1",
            "1.3.2",
            "1.3.2-beta2",
            "1.3.2-beta1",
            "1.3.1-1",
            "1.3.1",
            "1.3.1-beta1",
            "1.3.0-2",
            "1.3.0-1",
            "1.3.0",
            "1.3.0-beta1",
            "1.2.5",
            "1.2.5-beta3",
            "1.2.5-beta2",
            "1.2.5-beta1",
            "1.2.4-beta2",
            "1.2.4",
            "1.2.4-beta1",
            "1.2.3-beta1",
            "1.2.3",
            "1.2.2",
            "1.1.0",
            "1.0.0",
            "0.4.9.4",
            "0.4.9.3",
            "0.4.9.2",
            "0.4.9.1",
            "0.4.9",
            "0.4.8.1",
            "0.5.0",
            "0.4.8"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-58431.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:50.622532556Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58431.json",
        "https://github.com/IceWhaleTech/ZimaOS/security/advisories/GHSA-vqrw-9v9m-6g87",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-58431"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-250"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/58xxx/CVE-2025-58431.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-58431",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 519303,
  "published_at": "2025-09-17T17:25:08.811+00:00"
}