HOW TO PREVENT THIS VULNERABILITY !!!
At least we can disable Terminal while you fix in the next version. So to delete aaPanel access to Terminal:
# rm /root/.ssh/*
rm: remove regular file ‘/root/.ssh/authorized_keys’? y
rm: remove regular file ‘/root/.ssh/id_rsa’? y
rm: remove regular file ‘/root/.ssh/id_rsa.pub’? y
#
Now try to access Terminal, then Password Warning appear, don't enter the password! Wait until aaPanel Developer fix it!