It’s generally safe to share your account number with trusted people and with the bank. Always avoid sharing any of your bank details with people you don’t know or can’t trust. Rest assured the bank does not share this information with anyone. Read more here.