It happened Friday just after 5:30 p.m. at the shelter on 170 East 123rd Street.
All of the victims were taken to the hospital in stable condition.
A suspect was taken into custody.
There is no word yet on what prompted the attack.
ALSO READ | NYPD warning thieves targeting Central Park visitors in Zelle scam
Police warning people in Central Park to beware of scammers
----------
* Get Eyewitness News Delivered
* More Manhattan news
* Send us a news tip
* Download the abc7NY app for breaking news alerts
* Follow us on YouTube
Submit a tip or story idea to Eyewitness News
Have a breaking news tip or an idea for a story we should cover? Send it to Eyewitness News using the form below. If attaching a video or photo, terms of use apply.