In all versions of GitLab CE/EE since version 11.11, an instance that has the setting to disable Repo by URL import enabled is bypassed by an attacker making a crafted API call.
https://hackerone.com/reports/630263
https://gitlab.com/gitlab-org/gitlab/-/issues/29748
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39870.json