A statement released by the regional government said, two out of the seven injured are in critical condition.
The knife attack occurred at around 11.20 am local time (11.50 pm Indian Standard Time). Although Russian news outlets reported the attack wasn't terror related, ISIS later claimed responsibility for the attack.
Russia's Investigative Committee, which probes major crimes, said a man in Surgut had "carried out attacks on passers-by, causing stab wounds".
Police killed the five attackers, some of whom were wearing fake explosive belts.
The stabbing comes as security services around the world remain on high alert after a quick succession of knife and vehicle attacks.
Taylor Swift: Are you teasing us?
The " Shake It Off " singer has taken down all of her posts on Instagram , leaving nothing but a verified account with no photos. The star's online activity is certainly questionable and her representatives have been contacted for an explanation.
Sensex jumps 154 points in early trade
Zinc surgedabove $3,000 a metric ton for the first time in nearly a decade, while aluminum approached a three-year high. Among stock-specific action, Infosys ended 5 percent higher as the company said it will consider buyback of shares.
Two dead after helicopter crash in Albemarle County
Before the fatal crash, the troopers were helping law enforcement officers monitor the nationalist rally in the area. Sources familiar with the operation said state police were filming the Charlottesville protests from the helicopter.
The statement gave the number of victims at seven, down from an earlier tally of eight. He was a local resident born in 1994, it said.
Authorities are now trying to identify the armed man and find out his motive for the attack.
Surgut is the capital of the Khanty-Mansi Autonomous Area, a region east of the Urals which is the center of Russia's oil and gas production industry.
"A man was moving along the main streets stabbing people", it said, adding "the attacker has been killed".