One of President Barack Obama's private moments has been exposed to the world -- a video of him working out at a hotel gym in Poland was leaked to the Polish media.

Obama was in Poland this week to celebrate the 25th anniversary of the Solidarity movement and meet with Ukrainian President-elect Petro Poroshenko. On Wednesday night, photographs and video taken with a smartphone emerged on a Polish tabloid showing the commander-in-chief lifting weights, doing squats and using an elliptical machine at the Marriott Hotel Warsaw.

At one point in the video, the president is seen using the elliptical machine behind a man whose ear and cheek are also seen in the shot. This could indicate that he was secretly shooting the video while pretending to look at his phone.

In response, the Secret Service downplayed the video and said it did not constitute a security breach since all people entering and exiting the hotel were screened and cleared by officials, CNN reports. Because of the security screening, the Secret Service doesn't typically ask other guests to vacate hotel gyms ahead of the president's arrival.

"Hotel guests were not asked to leave the gym," said Brian Leary, Secret Service spokesman, according to the Los Angeles Times. "Nor were they asked to refrain from taking pictures."

According to an official with the service, it was apparent that photos were being taken of Obama during his 30-minute workout regime, although no one asked the people in the gym to stop taking them. In addition, the official noted that Secret Service agents were in close proximity to Obama during his workout.

The identity of the camera person has not been identified, nor has it been confirmed whether or not the person was trying to take a partial selfie.