If the cupcake had very sweet icing, fun times are ahead for you. Also, you may be coming into some money, or if you have a job, perhaps you’ll get a raise.
To eat a cupcake in a dream is more fortunate than to bake or buy it, although anything to do with cupcakes is lucky.... My Dream Interpretation
(See Cake.) ... Complete Dictionary of Dreams