The open_generic_xdg_mime function in xdg-open in xdg-utils 1.1.0 rc1 in Debian, when using dash, does not properly handle local variables, which allows remote attackers to execute arbitrary commands via a crafted file.
https://bugs.freedesktop.org/show_bug.cgi?id=89129
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=777722
http://www.securityfocus.com/bid/72675
http://www.openwall.com/lists/oss-security/2015/02/18/9