The deal also includes an option to buy 21-year-old for 13m euros (£11.1m).
Kabak joined Liverpool on loan in February and played 13 times for the Reds, but they opted against making his move permanent.
"I spoke with the head coach and I'm really impressed by his project and what he said to me," Kabak said. "I believe in him and his project.
Need a VPN? Or seeking to switch? Then support Tribal Football by clicking here to sign up with our official partners NordVPN. Not only will you receive the best VPN experience, but also great discounts by signing up via Tribal Football. Thanks for your support!