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