What’s Vulnerable › Vulnerabilities
CVE-2021-39871
- Severity: medium (CVSS 4.3 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.9% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-10-04 · updated 2026-06-17
Description
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.
Affected products
- GitLab: from 13.0.0 before 14.1.7; from 14.2.0 before 14.2.5; 4.3.0 — fixed in 14.1.7, 14.2.5
How to fix
Upgrade to a fixed version: GitLab 14.1.7, 14.2.5. Check the vendor advisory for mitigations.
References
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39871.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/340782
- https://hackerone.com/reports/630263
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39871.json
- https://gitlab.com/gitlab-org/gitlab/-/issues/340782
- https://hackerone.com/reports/630263
Get alerted when CVE-2021-39871 or the next vulnerability affects your stack