The attack occurred on the 6.25pm Doncaster-to-London King's Cross service as it headed toward Huntingdon, near Cambridge, prompting a major incident response.
Two people were arrested at Huntingdon station in connection with the stabbings, as authorities responded to the onboard incident.
Counter-terrorism police joined the investigation, signaling broader safety concerns and potential focus on motive as inquiries continue.