Skip to content
Heist/ feed
Back to feed
Medium

Security advisory

Type: advisorySources: OSVCVE: CVE-2021-39897

Improper access control in GitLab CE/EE version 10.5 and above allowed subgroup members with inherited access to a project from a parent group to still have access even after the subgroup is transferred

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2021-39897
Confirmed fixed CVEs
Not specified
Updated in this feed
1 Nov 2026, 05:25 UTC · Revision 1

Source evidence

CVE-2021-39897

core-osv · Original source

Published 5 Nov 2021, 00:15 UTC

Improper access control in GitLab CE/EE version 10.5 and above allowed subgroup members with inherited access to a project from a parent group to still have access even after the subgroup is transferred

osv:CVE-2021-39897
Complete source record
{
  "id": "c4128def2a47cd0050db0f617776483f439baddb0a2745cf5855c9540c455a21",
  "url": "https://osv.dev/vulnerability/CVE-2021-39897",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CVE-2021-39897",
    "summary": "Improper access control in GitLab CE/EE version 10.5 and above allowed subgroup members with inherited access to a project from a parent group to still have access even after the subgroup is transferred",
    "evidence": "osv:CVE-2021-39897",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2021-39897",
      "aliases": [
        "BIT-gitlab-2021-39897",
        "CVE-2021-39897"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://gitlab.com/gitlab-org/gitlab",
              "type": "GIT",
              "events": [
                {
                  "introduced": "073a4ba8016203c9e48595afd3ddea430d9420a3"
                },
                {
                  "fixed": "a83f3b1c8cee724f394fbf0c6872928e4f8e882b"
                },
                {
                  "introduced": "58d798bed6228196b580ae8def5d5080e5a56c73"
                },
                {
                  "fixed": "80b99e43cfcf09b3aa07546c2c3400628ad825a3"
                },
                {
                  "introduced": "ef3e35341f6a930af2d57979999b71457b9f72a4"
                },
                {
                  "last_affected": "ef3e35341f6a930af2d57979999b71457b9f72a4"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.9.0"
                      },
                      {
                        "fixed": "12.9.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.9.0"
                      },
                      {
                        "fixed": "12.9.8"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "12.10.0"
                      },
                      {
                        "fixed": "12.10.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "12.10.0"
                      },
                      {
                        "fixed": "12.10.7"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:13.0.0:*:*:*:community:*:*:*",
                    "range": [
                      {
                        "introduced": "13.0.0"
                      },
                      {
                        "last_affected": "13.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  },
                  {
                    "cpe": "cpe:2.3:a:gitlab:gitlab:13.0.0:*:*:*:enterprise:*:*:*",
                    "range": [
                      {
                        "introduced": "13.0.0"
                      },
                      {
                        "last_affected": "13.0.0"
                      }
                    ],
                    "source": "CPE_STRING"
                  }
                ]
              }
            }
          ],
          "versions": [
            "13.0.0",
            "v13.0.0-ee",
            "v12.10.6-ee",
            "v12.9.7-ee",
            "v12.10.4-ee",
            "v12.10.5-ee",
            "v12.9.6-ee",
            "v12.10.3-ee",
            "v12.10.1-ee",
            "v12.9.4-ee",
            "v12.10.0-ee",
            "v12.9.2-ee",
            "v12.9.0-ee"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-39897.json"
          }
        }
      ],
      "modified": "2026-10-30T10:30:29.121749152Z",
      "provider": "osv",
      "references": [
        "https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39897.json",
        "https://gitlab.com/gitlab-org/gitlab/-/issues/341017",
        "https://hackerone.com/reports/1330806"
      ],
      "provider_metadata": {}
    },
    "related_cves": [
      {
        "value": "CVE-2021-39897",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 432099,
  "published_at": "2021-11-05T00:15:10.467+00:00"
}