{"id":"CVE-2021-39891","aliases":["CVE-2021-39891","BIT-GITLAB-2021-39891"],"related":[],"kind":"vulnerability","state":"published","title":"In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the…","summary":"In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In all versions of GitLab CE/EE since version 8.0, access tokens created as part of admin's impersonation of a user are not cleared at the end of impersonation which may lead to unnecessary sensitive info disclosure.","source":"cvelist"},{"lang":"es","text":"En todas las versiones de GitLab CE/EE desde la versión 8.0, los tokens de acceso creados como parte de la suplantación de un usuario por parte del administrador no se borran al final de la suplantación, lo que puede conllevar a una divulgación innecesaria de información confidencial","source":"nvd"}],"published":"2021-10-05T13:38:07.000Z","modified":"2026-09-10T16:01:32.877Z","severity":{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitLab","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:N","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","score":4.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","score":4,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"MEDIUM"}],"cwes":["CWE-212"],"affected":[{"ranges":[{"version":">=8.0, <14.1.7","status":"affected"},{"version":">=14.2, <14.2.5","status":"affected"},{"version":">=14.3, <14.3.1","status":"affected"}],"vendor":"GitLab","product":"GitLab","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"8.0.0","fixed":"14.1.7"},{"status":"affected","introduced":"8.0.0","fixed":"14.1.7"},{"status":"affected","introduced":"14.2.0","fixed":"14.2.5"},{"status":"affected","introduced":"14.2.0","fixed":"14.2.5"},{"status":"affected","introduced":"14.3.0","fixed":"14.3.1"},{"status":"affected","introduced":"14.3.0","fixed":"14.3.1"}],"vendor":"gitlab","product":"gitlab","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"8.0.0","status":"affected","fixed":"14.1.7"},{"type":"semver","introduced":"14.2.0","status":"affected","fixed":"14.2.5"},{"type":"semver","introduced":"14.3.0","status":"affected","fixed":"14.3.1"}],"ecosystem":"Bitnami","package":"gitlab","purl":"pkg:bitnami/gitlab","source":"bitnami"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/335137","tags":["broken-link","web","x-refsource-misc","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39891.json","tags":["advisory","vendor-advisory","x-refsource-confirm","x-transferred"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39891","tags":["web"],"sources":["bitnami"]}],"credits":["This vulnerability was found internally by a member of the GitLab team."],"assigner":"GitLab","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2021-39891","url":"https://www.cve.org/CVERecord?id=CVE-2021-39891","licence":"CVE Terms of Use","modified":"2024-08-04T02:20:33.670Z"},{"source":"nvd","name":"NVD","id":"CVE-2021-39891","url":"https://nvd.nist.gov/vuln/detail/CVE-2021-39891","licence":"Public domain","modified":"2026-06-17T04:04:22.350Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITLAB-2021-39891","url":"https://osv.dev/vulnerability/BIT-GITLAB-2021-39891","licence":"Apache-2.0","modified":"2026-09-10T16:01:32.877Z"}],"updatedAt":"2026-11-25T22:58:04.308Z","epss":{"score":0.01003,"percentile":0.63862,"date":"2026-12-01T12:00:22.000Z"}}