Baked goods can typically be taken through security without a problem. That said, if any of those items qualify as “spreadable,” they need to go into your checked luggage. “Brownies are solid. Cakes, cookies and pies are solid.
Solid food items (not liquids or gels) can be transported in either your carry-on or checked bags. Liquid or gel food items larger than 3.4 oz are not allowed in carry-on bags and should be placed in your checked bags if possible.
Can I take a pack of biscuits on a plane? All kinds of snacks such as biscuits, chips, candy and other things that have a solid form, are permitted to be brought through the security check area. However, the goods must be closed in a sealed bag, and it must be clear to the security staff what the bag contains.
Items allowed for travel in your carry-on include baby food, bread, candy, cereal, cheese, chocolate, coffee grounds, cooked meats, cookies, crackers, dried fruits, fresh eggs, meat, seafood, and vegetables, frozen foods, gravy, gum, honey, hummus, nuts, pizza, salt, sandwiches, and all sorts of dry snacks; even live ...