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.