Preheat oven to 325 degrees.
Line cupcake pans with 18 paper cupcake liners. (If you are using standard 12-cup pans, you will have 6 unlined cups.) Set aside.
Sift together the flour, baking powder, baking soda, and salt in a bowl.
In the bowl of a stand mixer, beat the pureed avocado, with the sugar until completely combined. Beat in vanilla. Beat in eggs one at a time, mixing well after each addition. With the mixer on low speed, beat in all of the buttermilk until just combined.
Add the flour mixture in 3 additions, mixing each addition until just combined. Once all flour, is incorporated, increase mixing speed to medium and and beat for 20 seconds longer. Be careful to not over mix.
Divide batter among the prepared cupcake liners.
Bake until golden on top and a wooden pick inserted in center comes out clean, about 18-20 minutes.
Cool cupcakes in pans on racks for 10 minutes then remove from pans and cool completely before frosting.