I have a question first: Is the way you’re controlling pitch having some of the same problems even when there is no networking going on?
You may be suffering from Gimbal Lock.
What is the base class your spaceship Pawns inherit from, and what kind of Movement components (if any) do they have/use?