Your understanding is sort of mistaken. Mosh does an initial handshake over ssh, but after that it’s a custom UDP protocol. There have been and could be more security bugs in that UDP protocol.
I wonder if anyone's thrown a fuzzer at it.
[1] https://github.com/google/oss-fuzz/tree/master/projects/mosh