Petra Nemcova flashes her undies in front of paparazzi at 2017 Cannes amfAR Gala

It looks like Petra Nemcova got some style tips from Bella Hadid!

The leggy supermodel dazzled in a ethereal pastel blue gown with a dangerously high leg slit at the 2017 Cannes amfAR Gala. However, disaster struck when Petra was trying to walk off the red carpet as she accidentally flashed photographers.

Paparazzi caught a glimpse of the Czech model's knickers, a wardrobe malfunction that many before her have committed. Oops!

While the mishap was definitely cringeworthy, Bella Hadid experienced one earlier in the night that was probably worse. The 20-year-old model wore a beaded, see-through gown that accidentally exposed her breasts.

However, Bella is the queen of wardrobe malfunctions so we wouldn't be surprised if she gave Petra some pointers on how to walk away from them like a pro.

Wardrobe malfunctions aside, there's no denying Petra looked like a total princess in her dreamy dress. The 37-year-old beauty rocked strappy heels that elongated her toned stems and some major jewels. She wore her long locks in a sophisticated updo and she had a sun-kissed complexion that we're guessing is from all the Cannes sun she's been basking in all week!

Hailey Baldwin, Rita Ora and Kate Upton were also some of the other best-dressed stars of the night. Check out all the looks from the night in the slideshow below: