Seems to me that if the E Coli is in the ground around the veggies, the E Coli could get "percolated" up into the veggies through their water intake. Lettuce, cucumbers, celery etc. are a LOT of water.
It doesn't "percolate" up into the plant. If that were the case, we'd be dead long ago from the chicken manure that is often used to fertilize.