CVE-2021-39889: GitLab

Medium severity, CVSS 4.3. EPSS: 0.8% chance of exploitation in the next 30 days.

In all versions of GitLab EE since version 14.1, due to an insecure direct object reference vulnerability, an endpoint may reveal the protected branch name to a malicious user who makes a crafted API call with the ID of the protected branch.

Affected products

  • GitLab GitLab: from 14.1.0, before 14.1.7 (fixed in 14.1.7); from 14.2.0, before 14.2.5 (fixed in 14.2.5); from 14.3.0, before 14.3.1 (fixed in 14.3.1)

Published 2021-10-05. Last modified 2026-06-17.