A certain Debian patch for GNU GRUB uses world-readable permissions for grub.cfg, which allows local users to obtain password hashes, as demonstrated by reading the password_pbkdf2 directive in the file.
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=632598
http://www.openwall.com/lists/oss-security/2024/01/15/3