Preheat the oven to 350°F (175°C) and line a muffin tin with cupcake liners.
In a large mixing bowl, whisk together the dry ingredients: gluten-free flour, sugar, baking soda, baking powder, salt, and cocoa powder.
In another bowl, mix the wet ingredients: vegetable oil, buttermilk, eggs, red food coloring, vanilla extract, and white vinegar until smooth.
Gradually add the wet mixture to the dry ingredients and mix gently until just combined.
Divide the batter evenly among the cupcake liners, filling each about two-thirds full. Bake for 18-20 minutes.
Let the cupcakes cool in the pan for 5 minutes, then transfer to a wire rack to cool completely.
Prepare the frosting by beating cream cheese and butter until creamy, then gradually add powdered sugar and vanilla extract until smooth.
Frost the cooled cupcakes with the cream cheese frosting using a spatula or piping bag.