It is rare for any kind of liqueur or cordial to go bad. The alcohol and the sugar will both serve as preservatives. The brown glass of the bottle can also help keep you safe, as it will prevent sunlight or heat from wreaking havoc with the contents. At the very worst, you might get an upset stomach by drinking old Kahlua.