Ok, this is quite funny...
I stumbled upon this LD_PRELOAD "privilege escalation" article 🤨
The article starts by editing /etc/sudoers... but it's ok... it's only for lab setup...
The "lab setup":
`Defaults env_keep += LD_PRELOAD` 🤭
https://www.hackingarticles.in/linux-privilege-escalation-using-ld_preload/