{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58431 exists.","fix":"No fix has been published for CVE-2025-58431 yet. Limit exposure of the affected software until one is available.","what":"CVE-2025-58431 is a medium-severity path traversal vulnerability in IceWhaleTech ZimaOS, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2025-58431 and fix it if it is affected.\n\nWhat it is: CVE-2025-58431 is a medium-severity path traversal vulnerability in IceWhaleTech ZimaOS, published on 17 Sep 2025. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-58431 exists.\n\nAffected product: IceWhaleTech ZimaOS. No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2025-58431/ (Markdown: https://insights.sbomify.com/CVE-2025-58431/index.md)","id":"CVE-2025-58431","markdown":"https://insights.sbomify.com/CVE-2025-58431/index.md","name":"CVE-2025-58431","record":{"aliases":["GHSA-vqrw-9v9m-6g87"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["data_read","privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"ZimaOS","requires_auth":"none","summary":"Attackers with localhost access can read arbitrary files as root via the File API Download endpoint in ZimaOS.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"zimaos","vendor":"zimaspace"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"ZimaOS reads arbitrary files using localhost calls to File API Download","id":"CVE-2025-58431","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"path_traversal","year":"2025"},"n_packages":0,"n_references":1,"next":{"headline":"ZimaOS Privilege Escalation using localhost calls to File API Upload","id":"CVE-2025-58432"},"packages":[],"prev":{"headline":"listmonk Vulnerable to CSRF to XSS Chain That Can Lead to Admin Account Takeover","id":"CVE-2025-58430"},"products":["ZimaOS"],"published":"2025-09-17","related":[{"cvss_score":9.4,"headline":"ZimaOS has Authentication Bypass via System-Level Username","id":"CVE-2026-21891","kev_date_added":null,"published":"2026-01-08"},{"cvss_score":9.1,"headline":"Arbitrary internal service access via /v1/sys/proxy when Cloudflare Tunnel is enabled on ZimaOS","id":"CVE-2026-28798","kev_date_added":null,"published":"2026-04-03"},{"cvss_score":8.6,"headline":"ZimaOS: Arbitrary Deletion of Internal System Files via API Path Manipulation","id":"CVE-2026-28442","kev_date_added":null,"published":"2026-03-05"},{"cvss_score":8.6,"headline":"ZimaOS: Unauthorized Creation of Files/Folders in Restricted System Directories via API","id":"CVE-2026-28286","kev_date_added":null,"published":"2026-03-02"},{"cvss_score":7.5,"headline":"ZimaOS Arbitrary File Read via Parameter Manipulation","id":"CVE-2024-48931","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":7.5,"headline":"ZimaOS (Installed Applications and System Information) has Unauthorized Sensitive Data Leak","id":"CVE-2024-49357","kev_date_added":null,"published":"2024-10-24"},{"cvss_score":7.5,"headline":"ZimaOS vulnerable to Directory Listing via Parameter Manipulation","id":"CVE-2024-49359","kev_date_added":null,"published":"2024-10-24"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2025-09-17","vendors":["IceWhaleTech"]},"summary":"Attackers with localhost access can read arbitrary files as root via the File API Download endpoint in ZimaOS.","url":"https://insights.sbomify.com/CVE-2025-58431/"}