As mentioned in the comments, ideal behaviour for setPassword function should be that only owner of contract should be able to set the password, but in this contract, anyone can call setPassword function.
onlyOwner check missing from setPassword function.
Anyone will be able to change the password.
Manual
Create an onlyOwner modifier and add that in setPassword function.
Anyone can call `setPassword` and set a new password contrary to the intended purpose.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.