A work place or a landlord wouldn’t pass this kind of information on to parents, not that they should be models for how society works.
I think that in theory informing parents with prior agreement could be a good thing sometimes. I wouldn’t want the the consent process for this to look like a tick box on a form that most people wouldn’t read through throughly. Some people students will have legitimate reasons for wanting to keep information about their mental health private, including personal preference and not necessarily something to do with religion or stigma or something else along those lines.
I might be talking absolute rubbish but I thought healthcare providers can inform your next of kin about things relating to risky situations under certain circumstances. If a university is aware that a student is at risk, they should refer them to mental health services. MH services are there to deal with these types of situations, they should be the ones making decisions like this.