I have successfully carried pumpkins thru security
A couple of years ago, my husband and I were going on a cruise over Halloween. We love to decorate and we wanted some real pumpkins for our cabin and costume contest. We knew they would get destroyed in checked baggage so we decided we would take them as carryone in rollerboards. We were positive we would get the past TSA as they might define the guts of the pumpkin as liquid. When it comes our turn at x-ray, the bags get stopped and the agent gets a quizical look on his face and we say, "yes, they are pumpkins". He says "ok" and sends them on through. We did not have to open the bag to show that the pumpkins were intact.
BTW - these were a huge hit on our cruise and are now a great travel memory!