We present the reconstruction of a laser beam wavefront from its mode spectrum and investigate in detail the impact of distinct aberrations on the mode composition. The measurement principle is presented on a Gaussian beam that is intentionally distorted by displaying defined aberrations on a spatial light modulator. The comparison of reconstructed and programmed wavefront aberrations yields excellent agreement, proving the high measurement fidelity.