This is expected behavior. sudo is supposed to give you root user access. Here is what the man page says about sudo
sudo allows a permitted user to execute a command as the superuser or another user, as specified by the security policy.
you can change the /etc/sudoers file and disable your ability to run sudo if you don’t want root access.
It’s not a bug, it’s a feature.
Full disclosure: I am an employee of Qualcomm Canada, any opinions I have expressed in this or any other post may not reflect the opinions of my employer.