Preheat the oven to 350°F. Line two standard muffin pans with paper baking cups.
In a medium bowl, whisk together the gluten-free flour, cornstarch, baking powder and salt.
In the bowl of a stand mixer, or using a hand mixer, beat the softened butter and oil together until well-combined, about 3 minutes.
With the mixer running on medium-low, slowly add the granulated sugar to the oil and butter. Beat on high until the mixture is light and fluffy and turns a very pale yellow, about 3 minutes.
Add the eggs in one at a time, scraping down the bowl in between each addition. Mix in the vanilla extract, then beat on high for another 2 minutes. You want to incorporate lots of air!
With the mixer running on low, add ½ of the dry ingredients followed by ½ of the buttermilk, mixing until fully combined. Repeat with the remaining dry ingredients and buttermilk. Stir in the sprinkles.
Using a kitchen scoop or large spoon, fill each baking cup ¾ of the way up. Bake for 18-20 minutes, until a toothpick inserted in the center comes out mostly clean with a few moist crumbs.
Let the cupcakes cool in their pan for 5 minutes, then transfer to a wire rack to cool completely.