Line pilots have been dying in the cockpit almost since when commercial aviation began.
The operative concern is the statistical risk x the risk the other pilot will not remain capable until landing. Food poisoning is the more serious concern as that can take out both crew.
A salad bar item prepared by somebody with improperly washed hands could do the job. EC O157:H7 takes less than 10 organisms to produce an serious infection.