A spiteful Texas woman hacked into her ex-boyfriend’s phone, and, with an assist from her mom, plastered racy photos of his ex-wife on Instagram, according to a local report.

Following a “bad break-up” last month, Adriana Luna, 26 — who local cops said was pregnant with her ex’s child — forced her ex to leave her home without his phone, according to an affidavit obtained by MySanAntonio.com.

She tried to log into the phone multiple times, and finally gained access on Aug. 8, posting explicit photos of her ex’s former wife to his Instagram account, according to the report.

When Luna’s ex confronted her, she admitted that she posted the photos — with some help from her mother, the outlet reported. She told a witness that she was determined to shame her ex’s former wife — who she blamed for her own break-up, the affidavit said.

Authorities arrested Luna Wednesday on suspicion of unlawful disclosure or promotion of intimate material, a state felony, according to a police complaint report.

It’s unclear if Luna’s mom has been charged.

The victim told police she would often e-mail nude photos to her ex-husband while they were married.