There currently are a variety of options to travel by night train from Mosonmagyaróvár (Hungary) to Stuttgart (Germany), taking between approximately 10 and 11 hours: Namely the EN 442 and the EN 50462. These lines are operated by MÁV-Start.
MÁV-Start is Hungary's national passenger railway operator, running domestic and international trains connecting Hungary with neighboring countries.