A man was stabbed outside a bagel shop in Sheepshead Bay Sunday morning, cops said.

The violent encounter occurred outside the Brooklyn Bagel Boys shop on Coney Island Avenue, near Avenue Z, around 4:40 a.m., according to the NYPD.

The man ran inside the shop for help, workers said. Photos from inside show rolls of bloody paper towels scattered across the floor.

It was unclear if the victim, who was taken to Coney Island Hospital in unknown condition, was a worker or just in the store for breakfast, according to authorities.

The attacker was believed to have fled in a black Range Rover, cops said.