ZoneMinder: bypass detaintPath function
- State
- Published
- Severity
- 6.5 Medium
- Published
- Nov 17, 2026
- Updated
- Nov 17, 2026
- Reserved
- Aug 9, 2024
Description
ZoneMinder is a free, open source closed-circuit television software application. Prior to 1.38.4, detaintPath() in web/includes/functions.php can be bypassed with a PHP stream-wrapper path when sanitizing modal.php input. A remote unauthenticated attacker can submit such a path through the affected input and potentially read unauthorized local files through local file inclusion. This issue is fixed in version 1.38.4.
| Product | Versions |
|---|---|
| zoneminder ZoneMinder | < 1.38.4 Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 3.1 | 6.5 Medium | GitHub_M |
Weaknesses
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
References
- https://github.com/ZoneMinder/zoneminder/security/advisories/GHSA-wgqf-6fjf-7gxw
- https://github.com/ZoneMinder/zoneminder/pull/4991
- https://github.com/ZoneMinder/zoneminder/commit/6c98ed5f12fc8849b4ee30e691866f7c8883d458
- https://github.com/ZoneMinder/zoneminder/commit/c5f24a1d1fb42a047a51ecf71cc39bc3e33f61ba
- https://github.com/ZoneMinder/zoneminder/releases/tag/1.38.4
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.