{"id":"CVE-2024-58386","summary":"ZoneMinder 1.37.x Path Traversal via files view","details":"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, enabling attackers with Events view permission to access sensitive files like configuration files containing database credentials.","aliases":["GHSA-8fw2-wh82-vv4h"],"modified":"2026-09-30T11:30:13.475412539Z","published":"2026-09-28T22:00:16.575Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-22"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58386.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/58xxx/CVE-2024-58386.json"},{"type":"ADVISORY","url":"https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.0"},{"type":"ADVISORY","url":"https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-8fw2-wh82-vv4h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-58386"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/zoneminder-1.37-x-path-traversal-via-files-view"},{"type":"REPORT","url":"https://github.com/ZoneMinder/zoneminder/issues/4472"},{"type":"FIX","url":"https://github.com/ZoneMinder/zoneminder/commit/071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d"},{"type":"FIX","url":"https://github.com/ZoneMinder/zoneminder/commit/3b379e99c0c1e539334ad4186c15ad0dc6c238b9"},{"type":"PACKAGE","url":"https://github.com/ZoneMinder/zoneminder"},{"type":"ARTICLE","url":"https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php#L26-L39"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/zoneminder/zoneminder","events":[{"introduced":"0"},{"fixed":"39c2cc997beb038aed2e7f17abf372ee3b32e090"},{"fixed":"071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d"},{"fixed":"3b379e99c0c1e539334ad4186c15ad0dc6c238b9"}],"database_specific":{"source":["DESCRIPTION","REFERENCES"],"extracted_events":[{"introduced":"1.37.0"},{"fixed":"1.38.0"}]}}],"versions":["1.36.0","1.34.0","1.32.3","v1.26.3","v1.26.2","v1.26.1","v1.26.0","v1.25"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-58386.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N"}]}