Beat the oil, brown sugar, and granulated sugar with a hand or stand mixer on medium speed for 2 to 3 minutes until the mixture looks smoother and slightly thickened. This first mix builds the base of the batter, so it should look well combined rather than grainy and separated.
Add the eggs one at a time on low speed, mixing well after each addition, then add the mashed bananas and vanilla extract and mix for 1 minute more. The batter should look glossy and loose, with the banana fully blended in.
Whisk the flour, baking soda, cinnamon (optional), and salt in a separate bowl until evenly combined. This helps the leavening and spices distribute evenly through the cupcakes.
Add the dry mixture to the wet mixture in additions, alternating with the buttermilk, and mix after each addition just until combined. Stop as soon as the flour disappears so the cupcakes stay tender instead of turning tough.
Fold in the chocolate chips and crushed cashew last until evenly scattered through the batter. The finished batter should be thick but easy to spoon.
Preheat the oven to 350 °F/170 °C and line 2 12-count cupcake pans with cupcake liners. Having the pans ready before portioning helps the batter stay evenly aerated.
Fill each liner about three-fourths full, place one pan on the middle rack and one on the bottom rack, and bake for 18 to 20 minutes, switching the pans midway if needed for even baking. The tops should be set and a toothpick inserted in the center should come out clean.
Bake the last batch of 6 cupcakes the same way, then cool all of the cupcakes completely before filling or frosting. If there is any warmth left, the frosting will soften and slide.