There currently is one option to travel by night train from Budapest (Hungary) to Kyiv (Ukraine), taking between approximately 18 and 20 hours: Namely the 10 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.