A gunman opened fire on a train travelling from Amsterdam to Paris, injuring three people before being overpowered by passengers, French state rail company SNCF and rescue services said.
Two of the victims were seriously injured and at least one suffered gunshot wounds, an SNCF spokesman said, adding that the assailant was armed with guns and knives.
The motives behind the attack were not immediately known.
More From This Section
French Interior Minister Bernard Cazeneuve was heading to Arras in the wake of the incident, his ministry said.
France remains on edge after Islamic extremists attacked the satirical magazine Charlie Hebdo and a Jewish supermarket in Paris in January.
In June, a man beheaded his boss and tried to blow up a gas plant in southern France in what prosecutors say was an attack inspired by the Islamic State group.