# CVE-2024-7404: Improper Restriction of Rendered UI Layers or Frames in GitLab

> CVE-2024-7404: Improper Restriction of Rendered UI Layers or Frames in GitLab. CVSS 6.8 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2024-7404
Last updated: 2026-06-17T08:20:01Z

- Published: 2024-11-14 13:02 UTC · Updated: 2026-06-17 08:20 UTC · Assigner: GitLab
- CVSS: 6.8 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- EPSS: 0.56%, 46th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-1021

## Description

An issue was discovered in GitLab CE/EE affecting all versions starting from 17.2 prior to 17.3.7, starting from 17.4 prior to 17.4.4 and starting from 17.5 prior to 17.5.2, which could have allowed an attacker gaining full API access as the victim via the Device OAuth flow.

## Affected vendors and products

- GitLab: GitLab

## Tracked companies

- [GitLab](https://rewindex.com/company/gitlab.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2024-7404)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2024-7404)
- [https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/\#device-oauth-flow-allows-for-cross-window-forgery](https://about.gitlab.com/releases/2024/11/13/patch-release-gitlab-17-5-2-released/#device-oauth-flow-allows-for-cross-window-forgery)
- [https://gitlab.com/gitlab-org/gitlab/-/issues/476670](https://gitlab.com/gitlab-org/gitlab/-/issues/476670)
- [https://hackerone.com/reports/2627925](https://hackerone.com/reports/2627925)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2024-7404 · Markdown: https://rewindex.com/cve/CVE-2024-7404.md · JSON: https://rewindex.com/api/v1/cves/CVE-2024-7404 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T02:50:03.950Z
