Not sure if it's a bug, but this has happened to me twice already.
At the point in the game where the cargo bay and med-bay are added to the to-do list of puzzles, if you let your energy meter completely drain and have to go into Zel'ra quarters to eat a big meal, you get trapped in there because the food station doesn't work and the game won't let you leave the room. Going in there to snack does not seem to be an issue though.