Creation of a Temporary Directory with Insecure Permissions in Nagios XI 5.7.5 and earlier allows for Privilege Escalation via creation of symlinks, which are mishandled in getprofile.sh.
https://www.nagios.com/downloads/nagios-xi/change-log/
https://skylightcyber.com/2021/05/20/13-nagios-vulnerabilities-7-will-shock-you/