Directory Traversal in Zip Extraction built-in function in Kodi 17.1 and earlier allows arbitrary file write on disk via a Zip file as subtitles.
https://security.gentoo.org/glsa/201706-17
https://lists.debian.org/debian-lts-announce/2018/01/msg00019.html