No.
It is a spread effect, like with a fireball. It fills all available area. So, as a 40-ft. radius spread, it fills the entire room and more than enough of the corridor to hit everyone. And, since the door is open, it spills out into the corridor. It can go around corners.