Upvote:9
Your itinerary involves a self-transfer in Budapest (BUD
), Hungary
Both Poland and Hungary are in the Schengen Area, your visa for Poland will suffice to do that connection
After passing entry passport control, you'll be in the country and free to go in the city