Your case certainly comes under the deficiency of service, it is the duty of railway to maintain safe conditions in their compartment. The services by railway are provided against consideration so you can definitely takes action under Consumer Protection Act for relief.
Book Appointment