A derailment between Montreal and Toronto has disrupted freight train traffic after two CP Rail locomotives and almost a dozen cars ran off the tracks near the Quebec-Ontario border.

A spokeswoman for Canadian Pacific said the railway is working to reroute traffic around the derailment, which occurred near the small town of Vaudreuil-Dorion, Que., late Thursday evening.

The train was on its way to Toronto, hauling a load that included fertilizer chemicals, when it went off the tracks, said CP spokeswoman Breanne Feigel.

"We are looking into options to reroute traffic to other lines," Feigel said in an interview with CTV.ca. "There is no freight traffic running on that CP stretch of traffic at this time but commuter traffic is fine."

A cleanup crew is on the scene to begin the task of removing the trains and repairing the tracks.

Feigel said that none of the chemicals carried on the train appeared to have leaked or spilled as a result of the derailment. "There are no public safety concerns and no environmental concerns."

The cause of the derailment is still unknown, but the crew of the train was not hurt in the crash. "The crew went to hospital as a precaution," Feigel said. "But they were released fairly quickly and are already back at their homes."

She said there was no estimate of when the track will re-open.