Cable management with magnetic hooks - no good deed goes unpunished?
Don’t worry about it.  The magnetic fields will be relatively small and would only generate a voltage if the wires move relative to the magnetic fields.  Furthermore, Ethernet uses balanced pairs of lines and so any external fields should cancel out.