The note is secured by the mortgage. The mortgage is against all the property. But you, now you get the idea.
Make sure the loan remains current. Protect yourself by picking a financially reliable co-owner. It's possible, of course, to have a contract between the co-owners, but an unsecured promise is... unsecured. :)