Terminal in Apple OS X before 10.12 uses weak permissions for the .bash_history and .bash_session files, which allows local users to obtain sensitive information via unspecified vectors.
https://support.apple.com/HT207170
http://www.securitytracker.com/id/1036858
http://www.securityfocus.com/bid/93055
http://lists.apple.com/archives/security-announce/2016/Sep/msg00006.html