python-dbusmock before version 0.15.1 AddTemplate() D-Bus method call or DBusTestCase.spawnservertemplate() method could be tricked into executing malicious code if an attacker supplies a .pyc file.