No matter how careful you are, if you cheat on your partner, you run the risk of getting caught.

And a Peruvian woman has found that out the hard way.

With the large amount of tech in our lives these days, there are ample ways to catch a dishonest lover. There are secret smartphone tracking apps: You could scroll through old message histories or even make a secret recording. But for the adulterous, you wouldn’t expect to get undone by Google Maps. This is certainly a doozy.

One unlucky lovelorn man in Peru was looking up tourist sites to hopefully one day take his wife to when he stumbled upon a beautiful, flower-lined street in the south of Lima.

Upon closer inspection, the man noticed his wife had already visited the picturesque spot — with another man.

Despite the Google Maps streetview pictures being taken way back in 2013, the photos still haven’t been updated.

The man quickly realized it was his wife sitting on the bench with the other man’s head in her lap as she appears to be stroking his hair.

Peruvian news site La Cronica said the man’s discovery led him to confront his wife and she admitted to cheating.

The exposing photos are still visible on Google Maps, with the couple pictured sitting together at Puente de los Suspiros, in the district of Barranco.

If true, that’s unlucky mate, tough way to find out.

This story originally appeared in news.com.au.