# CVE-2024-58386: ZoneMinder path traversal in files view

Source: https://junglewise.ai/threats/cve-2024-58386-zoneminder-versions-1-37-0-before-1-38-0-contain-a-path-traversal  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2026-09-28. Updated: 2026-09-28  
License: CC BY 4.0 with a link back

CVE-2024-58386 · Severity: medium · CVSS 6.5 · Published 2026-09-28

ZoneMinder is free, open-source video surveillance software for managing security cameras. A path traversal vulnerability in the files view allows authenticated users to read arbitrary files from the server, including configuration files with database credentials that could compromise the entire system.

Technologies: [Zoneminder](https://junglewise.ai/threats/technologies/zoneminder). Vendors: [Zoneminder](https://junglewise.ai/threats/vendors/zoneminder).

## Quick answers

**Is CVE-2024-58386 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-58386 being exploited in the wild.

**How severe is CVE-2024-58386?** Medium severity, with a CVSS score of 6.5, published 28 September 2026.

**Which products and versions are affected?** Zoneminder 1.37.0 before 1.38.0.

**Is there a fix for CVE-2024-58386?** No fixed version is recorded yet. Check the vendor's advisory in the references below. If you run it, Junglewise drafts a mitigation that fits your setup and applies it once you approve, with senior security engineers behind it.

**How is CVE-2024-58386 attacked?** It is attacked over the network, in a web application.

**Am I affected by CVE-2024-58386?** Check whether you run Zoneminder at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## Technical details

The vulnerability exists in the files view component where the path parameter is not properly validated before being passed to the output_file function. Authenticated users with Events view permission can exploit this to traverse the file system and access sensitive files. A fix is available in version 1.38.0 and later.

## Affected products

- ZoneMinder ZoneMinder 1.37.0 before 1.38.0

## Timeline

- 2026-09-28: disclosed

## References

- [https://github.com/ZoneMinder/zoneminder](https://github.com/ZoneMinder/zoneminder)
- [https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php](https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php)

## Related threats

- [ZoneMinder command injection in monitor Device Path](https://junglewise.ai/threats/cve-2026-30971-zoneminder-is-a-free-open-source-closed-circuit-television)
- [ZoneMinder command injection in downloadEvents](https://junglewise.ai/threats/cve-2026-102608-zoneminder-is-a-free-open-source-closed-circuit-television)
- [ZoneMinder command injection in event export](https://junglewise.ai/threats/cve-2026-102607-zoneminder-is-a-free-open-source-closed-circuit-television)
- [ZoneMinder authentication bypass in token validation](https://junglewise.ai/threats/cve-2026-104198-zoneminder-is-a-free-open-source-closed-circuit-television)
- [ZoneMinder access control bypass in FramesController](https://junglewise.ai/threats/cve-2026-102297-zoneminder-before-1-38-4-fails-to-apply-per-monitor-access)
