Yes, the headline reads right. It is possible, at least in legal theory, for Uhuru to be president until 2027. How, you ask? Simple answer; Raila will make him so.
Our constitution is a marvel to behold. One of those marvels is that there is no gap in leadership. Every office bearer is in office until hand-over, not until an election. What that means is former Nairobi Governor Evans Kidero was governor until he handed over power to Nairobi Governor Mike Mbuvi aka Sonko. In like manner Uhuru is still president until he hands over, to himself or to a president-elect.