Ultraintense laser pulses propagating in near-critical density plasmas generate magnetic dipole vortex structures. In the region of decreasing plasma density, the vortex expands both in forward and lateral directions. The magnetic field pressure pushes electrons and ions to form a density jump along the vortex axis and induces a longitudinal electric field. This structure moves together with the expanding dipole vortex. The background ions located ahead of the electric field are accelerated to high energies. The energy scaling of ions generated by this magnetic vortex acceleration mechanism is derived and corroborated using particle-in-cell simulations.