Question: can you get food poisoning from undercooked pastry?
Answer: Raw Dough Can Contain Bacteria That Cause Disease. Flour doesn't look like a raw food, but typically it is. This means it hasn't been treated to kill germs such as Escherichia coli (E. coli), which causes food poisoning (foodborne illness).