Never allow your dog to eat a pumpkin's stem or leaves, they are covered in tiny, sharp hairs which can cause irritation to your dog's mouth and intestinal tract.
This is especially dangerous during Fall when many decorative pumpkins and gourds are coated with things like glue, glitter or shellac that are toxic.