Preheat your oven to 350°F (175°C). Grease and flour two 9-inch round cake pans.
In a large mixing bowl, combine the gluten-free flour, sugar, baking soda, and salt.
In another bowl, whisk together the buttermilk, oil, eggs, red food coloring, vanilla extract, and vinegar.
Gradually add the wet ingredients to the dry ingredients, mixing until just combined.
Divide the batter evenly between the prepared cake pans.
Bake for 25-30 minutes, or until a toothpick inserted into the center comes out clean. Let the cakes cool in the pans for 10 minutes, then transfer to a wire rack to cool completely.
For the frosting, beat the cream cheese and butter together until smooth. Gradually add the powdered sugar and vanilla extract, beating until light and fluffy.
Frost the cooled cakes and enjoy!