Yes, the very aim of open-source software is to protect users' data. As open-source VPNs are, well, open-source, they're completely safe to use.