{"id":"CVE-2024-58386","title":"ZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files","summary":"ZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files. The path parameter is not properly validated before being passed to output_file, e…","severity":"medium","cvss":6.5,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","cwe":["CWE-22"],"vendor":"ZoneMinder","product":"zoneminder","affected":["zoneminder >= 1.37.0 < 1.38.0"],"published":"2026-09-28","updated":"2026-09-28","sourceUpdated":"2026-09-28T22:17:29.893","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2024-58386","references":[{"url":"https://github.com/ZoneMinder/zoneminder","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php#L26-L39","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/commit/071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/commit/3b379e99c0c1e539334ad4186c15ad0dc6c238b9","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/issues/4472","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.0","label":"disclosure@vulncheck.com"},{"url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-8fw2-wh82-vv4h","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/zoneminder-1.37-x-path-traversal-via-files-view","label":"disclosure@vulncheck.com"}],"tags":["nvd","cve.org"],"ingestedAt":"2026-09-28T22:22:13.606Z","slug":"CVE-2024-58386","body":"## Overview\n\nZoneMinder versions 1.37.0 before 1.38.0 contain a path traversal vulnerability in the files view that allows authenticated users to read arbitrary files. The path parameter is not properly validated before being passed to output_file, enabling attackers with Events view permission to access sensitive files like configuration files containing database credentials.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":36,"depthScoreParts":{"impact":35.8,"likelihood":0,"exploitation":0,"ransomware":0},"changes":[]}