gnucash 2.0.4 and earlier allows local users to overwrite arbitrary files via a symlink attack on the (1) gnucash.trace, (2) qof.trace, and (3) qof.trace.[PID] temporary files.
https://exchange.xforce.ibmcloud.com/vulnerabilities/32558
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=223233
http://www.vupen.com/english/advisories/2007/0653
http://www.securityfocus.com/bid/22610
http://www.mandriva.com/security/advisories?name=MDKSA-2007:046
http://sourceforge.net/project/shownotes.php?group_id=192&release_id=487446
http://secunia.com/advisories/24317
http://secunia.com/advisories/24226