In a medium saucepan, heat oil and butter over low heat. Cook garlic, shallots, and lemongrass in oil until fragrant (be careful not to burn the garlic). Add chili paste, stir to coat. Stir in chicken stock, coconut milk, and pumpkin; bring to a boil. Cook until pumpkin softens.
In a blender, blend the soup in batches to a smooth or slightly chunky consistency, whatever you prefer. Serve with basil leaves.