Clear it in 3 steps
Start the environment
Investigate the target
Submit the flag

Check which commands a regular user can run via sudo without a password. A well-known GTFOBins technique can let you escape from that command into a shell.
Start with sudo -l to see which commands you can run
Look up GTFOBins (gtfobins.github.io) for escalation techniques for that command
vim has a feature to execute shell commands