Morocco and Senegal have both changed coach since the final. Earlier this month, both secured places at the 2027 tournament with two rounds of qualification still to play.
The full grounds will be published by CAS in due course unless the parties request confidentiality. Despite CAS being the highest authority in sport, the account of the case said there could yet be a further twist.
The ruling closes a dispute over a final decided in extra time, after Senegal left the pitch in protest and the referee later restarted play. The sporting result on the field now stands.
More than six weeks after a hearing in Lausanne, and 10 months after the final, Senegal were proclaimed champions once again.
With the game goalless, Senegal left the field in second-half stoppage time in protest at a penalty awarded against them.
A tightly contested final between the continent's top-ranked sides produced two moments of controversy in that period, with referee Ndala at the centre of both.
A free-kick looked soft, but the video assistant referee could not intervene because Ndala had awarded the foul before the ball crossed the line.
The match was not abandoned. It went to extra time, and Pape Gueye scored the only goal as Senegal won 1-0.
In its appeal, the Senegalese federation, the FSF, argued that Ndala's decision to resume in the 19th minute of added time, and to let the match finish with a sporting result, could not be reviewed under the field of play doctrine.
According to the case, the referee restarted play after judging that conditions to resume had been met: both teams were back on the pitch and both were willing to continue.
The Moroccan federation, the FRMF, argued the opposite. It said the decision did not fall under the field of play doctrine because Senegal should have faced disciplinary consequences for walking off, and that Afcon rules required the referee to end the match early.
The panel disagreed. It found that the referee's decisions were limited to the pitch and that the relevant Afcon regulations on withdrawals did not apply. It also found that his judgment did not appear to have been affected by factors outside the game.
CAS has a long-standing practice of not reviewing decisions taken on the field by referees applying the laws, unless there is evidence that those rules were applied arbitrarily or in bad faith.
The director general of the Switzerland-based court said proceedings would be conducted"as swiftly as possible". It was still more than five months before the parties met in Lausanne for a one-day hearing.
In April, Ifab, the game's lawmaking body, said:"The referee may sanction with a red card any player who leaves the field of play in protest at a referee's decision."It said the new rule would also apply to any team official who incites players to leave.
A principle set out in the case states that a team that causes a match to be abandoned will, in principle, forfeit the match. That route was not applied here.