Dice the onion and garlic and sauté in hot oil in a saucepan until translucent.
In the meantime, cut the pumpkin in half and remove the seeds with a spoon. Roughly dice the pumpkin and fry briefly with the onions and garlic. Deglaze with the vegetable stock. Put the lid on the pan and steam the pumpkin for about 10-15 minutes until it is soft. Add the coconut milk and orange juice and puree everything with the hand blender.
Bring the soup to the boil, add the grated ginger and season with salt, pepper, curry powder and the cayenne pepper.