The incident took place at around 10:50am on Friday.
At least six bogies were derailed during the incident, said Joydebpur Railway Station Master Hanif Mia.
The Tangail commuter train, which left for Dhaka, collided head-on with the oil-laden freight train leaving Dhaka, he said.
The station master added that a rescue train was on its way.
No passengers were trapped inside the train and the cause of the accident could not be ascertained yet, reports DT.
The injured were taken to Gazipur Shahid Tajuddin Ahmed Medical College Hospital.
Members of the fire service and railway police are inspecting the train involved in the accident.
Meanwhile, train communication between Dhaka and the northwestern regions has been snapped since the accident.
Masud Sarwar, station manager of Kamalapur Railway Station, said trains will run on the route later in the afternoon.
Witnesses said the accident occurred due to the lineman's lack of proper clearance.