This has happened twice already to my level 59 Meta.
* Last week
When I was reaching (on foot) the save terminal at Pleasant Meadows Omni Dock, the WF2 MK3 gun attacked my heal pet who was on the road (trailing behind me). I poked my head out of the gate to try to see what was happening and promptly got aggro'd by the gun. FYI, I was not teamed at the time.
* Today
As I was flying over Lush Fields OutPost, one of the Omni Elite Guards attacked my heal pet who was trailing below me. The other guards joined in to attack my heal pet. I continued to fly over and past the OP because had I landed, I surely would have been attacked too.
Dangerous bug and unpredictable. It can cause accidental XP loss for nothing. Please look into this. Thank you.