After a short tussle with the defender, Jordan Larsson finally tucked the ball home.
He recorded the ball to Ezequiel Ponce, who won a close match and then scored 1-0 to Spartak Moscow.
Before the end of the first half, the away team had increased to 2-0.
Krasnodar's Jacob Sabua then made a successful inning.
He came in in the 57th minute and reduced in the 59th minute.
Spartak tops the league
But the last word was given to Larsson.
He shot in 3-1 in minute 82.
Spartak Moscow tops the Russian league, the team has scored 27 points.
Second is Zenit.
Krasnodar is eight in the league.