Preheat the oven: Preheat your oven to 400°F (200°C). Line a baking sheet with parchment paper.
Make the filling: In a medium bowl, combine pumpkin puree, softened cream cheese, shredded cheddar cheese, garlic powder, onion powder, salt, black pepper, and dried herbs. Mix until smooth and evenly combined.
Prepare the pastry: Place the thawed puff pastry on a lightly floured surface. Gently roll it into an even rectangle if needed.
Add the filling: Spread the pumpkin and cheese mixture evenly over the puff pastry, leaving a small border around the edges.
Roll: Starting from one long side, carefully roll the pastry into a tight log. Press the seam gently to seal it.
Chill: Place the pastry log in the refrigerator for 15–20 minutes to firm it up. This will make slicing easier.
Slice: Using a sharp knife, cut the log into approximately ½-inch slices. Arrange the pinwheels on the prepared baking sheet with space between each one.
Make the egg wash: Whisk the egg with 1 tablespoon of water. Lightly brush the tops of the pinwheels with the egg wash.
Bake: Bake for 15–20 minutes, or until the pastry is puffed and golden brown and the cheese filling is hot.
Cool and serve: Remove from the oven and allow the pinwheels to cool for a few minutes before serving. Serve warm for the best texture.