ZoneMinder before 1.36.13 allows remote code execution via an invalid language. Ability to create a debug log file at an arbitrary pathname contributes to exploitability.
https://krastanoel.com/cve/2022-29806
https://github.com/ZoneMinder/zoneminder/releases/tag/1.36.13
https://github.com/ZoneMinder/zoneminder/commit/9fee64b62fbdff5bf5ece1d617f1f53c7b1967cb
https://forums.zoneminder.com/viewtopic.php?t=31638
http://packetstormsecurity.com/files/166980/ZoneMinder-Language-Settings-Remote-Code-Execution.html