The (1) dshield.conf, (2) mail-buffered.conf, (3) mynetwatchman.conf, and (4) mynetwatchman.conf actions in action.d/ in Fail2ban before 0.8.5 allows local users to write to arbitrary files via a symlink attack on temporary files with predictable names, as demonstrated by /tmp/fail2ban-mail.txt.
https://github.com/fail2ban/fail2ban/blob/sdist/0.8.5/ChangeLog
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=544232