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.
https://gitlab.com/gitlab-org/gitlab/-/issues/335137
https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39891.json