See how miktex compares to other vendors in security performance
An arbitrary code execution vulnerability in LuaTeX (TeX Live) that allows any document compiled with older versions of LuaTeX to execute arbitrary shell commands, even with shell escape disabled. This affects LuaTeX versions 1.04-1.16.1, which were included in TeX Live 2017-2023. This issue was fixed in LuaTeX 1.17.0, which is included in recent updates to TeX Live 2023.
References: https://tug.org/~mseven/luatex.html
LuaTeX before 1.17.0 allows a document (compiled with the default settings) to make arbitrary network requests. This occurs because full access to the socket library is permitted by default, as stated in the documentation. This also affects TeX Live before 2023 r66984 and MiKTeX before 23.5.