Kourtney Kardashian needed "terrifying" emergency fetal surgery for a "super rare" condition.
The 45-year-old star welcomed her baby boy Rocky into the world with husband Travis Barker in November 2023, and two months before giving birth she needed a procedure after her doctor noticed something during a scan.
Speaking in this week's episode of 'The Kardashians', she recalled: "We had planned a scan at home, so that all the kids could see the baby.
"The doctor who will come to the house to do the scan is a high-risk doctor, who's really detailed and thorough at looking for everything.
"And something caught his eye where he wanted me to see a couple specialists."
After those appointments, she had to go for an operation on her son the next morning, and she admitted the situation was "terrifying" and "stressful".
Kourtney has not revealed what issue was found during the scan, but she admitted the timing of the discovery "saved everything".
She added: "The timing of it was miraculous. That saved everything.
"My doctor's like, 'There's nothing that you did wrong. It's not age-related. It's just a super rare thing that happened.'"
Travis had already left to go on tour with Blink-182 in Europe, which meant Kourtney's mother Kris Jenner needed to take her to hospital while he was flying back to the United States.
The reality star said: "The thing that was awful was his WiFi was broken on the plane. I was sending him updates and my mom was sending him updates.
"He couldn't get anything and he kept checking, like every two hours on the plane, ‘Can you reset the WiFi?'"
Kourtney - who has children Mason, 14, Penelope, 11, and nine-year-old Reign with her ex Scott Disick - had already undergone the procedure by the time her husband landed because it needed doing "right away".
She remained calm in the moment, but once they left the hopsital she was able to process her emotions.
She explained: "There's some superpower that I have — that in emergency situations, I get really calm.
"And then right when we left, I was like, ‘OK, I can take a deep breath. I could cry. I could get it out.'"
Despite the surgery being a "trauma" for both Kourtney and Travis, they both stayed hopeful for their baby's wellbeing.
She said: "I just feel so grateful that how everything played out and for the doctors that really helped make the best decisions that really saved our baby.
"After this happened, I was like, ‘God's got this. We're good. This is a miracle and we're just going to be super positive.'"
Tagged in Travis Barker Kourtney Kardashian Kris Jenner