Keybase advisory: Local Privilege Escalation on Linux via Keybase-Redirector
keybase.io
keybase.io
It would be easy to say that dependencies are a bad thing, especially when writing programs that are run as root or even suid, but there's no reason to assume the same mistake would not have been made if they wrote the mounting code themselves.
The big lesson should be that there should always be an explicit step to your software development process that is to evaluate the security characteristics of your program. Of course, it should always also be on your mind while writing code, but there's so many layers you depend on, and so many things you might not think of.