There are many candidates for the longest Bavarian curse word, here’s one example.
Himmiherrschaftzaggramentzefixalleluja
(have fun with figuring out the components)
Bavaria is notorious for having the most creative, juicy and long curses of all Germans. Catholicism is always involved.