If they're all friendly, the French ménage à trois (3-way relationship) would work. But I don't think that's what you're looking for, basically because it isn't a single word.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.