While it's best they don't eat that pumpkin, canned organic pumpkin (unsweetened not pie filling), pumpkin seeds, and cooked fresh pumpkin have many benefits for dogs and cats.
Pureed pumpkin (with no added sugar or spice) can help dogs and cats with both constipation and diarrhea.