CVE-2024-0402

CRITICALPre-NVD 9.99.9
EchelonGraph scoreMEDIUM confidence

Score 9.9 from GitHub Security Advisory (severity: CRITICAL) published 2024-01-26. NVD baseline CVSS 9.9; sources differ by 0.0.

Triggered by: GitHub Security Advisory CVSS
Sources: epss, ghsa, nvd
Elevated
9.9
EchelonGraph verdictPlan a fixSerious severity, but no confirmed exploitation yet.
  • High severity, but no confirmed exploitation yet
CISA-KEV: Not listedEPSS: 3%CVSS: 9.9Exploit: NoneExposed: 0

No vendor fix yet — apply a workaround or compensating control (WAF / firewall / segmentation) and watch for a patch.

An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.

CVSS v3
9.9
EG Score
9.9(medium)
EPSS
87.0%
KEV
Not listed

Published

January 26, 2024

Last Modified

June 3, 2026

Advisory Details (2)

Auto-updated Jul 4, 2026
No patch confirmed yet.
generic

Devfile parser arbitrary file write (#437819) · Issues · GitLab.org / GitLab · GitLab

https://gitlab.com/gitlab-org/gitlab/-/issues/437819
generic

GitLab Critical Security Release: 16.8.1, 16.7.4, 16.6.6, 16.5.8 | GitLab Docs

https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/

Vendor Advisories for CVE-2024-0402(1)

These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

Data Freshness Timeline

(refreshed 9× in last 7d / 40× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-06 16:26 UTCEPSS rescore
  2. 2026-07-06 16:26 UTCEPSS rescore
  3. 2026-07-06 02:22 UTCEPSS rescore
  4. 2026-07-06 02:22 UTCEPSS rescore
  5. 2026-07-05 02:29 UTCEPSS rescore
  6. 2026-07-04 06:29 UTCEPSS rescore
  7. 2026-07-01 15:05 UTCEPSS rescore
  8. 2026-06-30 23:21 UTCEPSS rescore
  9. 2026-06-30 23:21 UTCEPSS rescore
  10. 2026-06-29 14:05 UTCEPSS rescore
  11. 2026-06-28 04:55 UTCEPSS rescore
  12. 2026-06-27 03:07 UTCEPSS rescore
  13. 2026-06-26 22:37 UTCOSV refresh
  14. 2026-06-25 13:48 UTCEPSS rescore
  15. 2026-06-25 13:48 UTCEPSS rescore
  16. 2026-06-24 14:04 UTCEPSS rescore
  17. 2026-06-24 14:04 UTCEPSS rescore
  18. 2026-06-23 21:31 UTCEPSS rescore
  19. 2026-06-23 21:31 UTCEPSS rescore
  20. 2026-06-22 14:24 UTCEPSS rescore
  21. 2026-06-22 14:24 UTCEPSS rescore
  22. 2026-06-21 14:55 UTCEPSS rescore
  23. 2026-06-21 14:55 UTCEPSS rescore
  24. 2026-06-21 01:58 UTCEPSS rescore
  25. 2026-06-21 01:58 UTCEPSS rescore
Show 35 more
  1. 2026-06-19 19:24 UTCEPSS rescore
  2. 2026-06-19 19:24 UTCEPSS rescore
  3. 2026-06-18 17:51 UTCEPSS rescore
  4. 2026-06-17 17:51 UTCEPSS rescore
  5. 2026-06-16 17:51 UTCEPSS rescore
  6. 2026-06-16 17:51 UTCEPSS rescore
  7. 2026-06-15 17:47 UTCEPSS rescore
  8. 2026-06-14 23:16 UTCEPSS rescore
  9. 2026-06-12 23:11 UTCEPSS rescore
  10. 2026-06-11 13:59 UTCEPSS rescore
  11. 2026-06-10 22:17 UTCEPSS rescore
  12. 2026-06-10 13:21 UTCEPSS rescore
  13. 2026-06-09 09:34 UTCOSV refresh
  14. 2026-06-08 14:16 UTCEPSS rescore
  15. 2026-06-08 14:16 UTCEPSS rescore
  16. 2026-06-06 13:46 UTCEPSS rescore
  17. 2026-06-06 13:46 UTCEPSS rescore
  18. 2026-06-05 22:46 UTCEPSS rescore
  19. 2026-06-05 22:46 UTCEPSS rescore
  20. 2026-06-05 06:09 UTCEPSS rescore
  21. 2026-06-05 06:09 UTCEPSS rescore
  22. 2026-06-04 13:11 UTCEPSS rescore
  23. 2026-06-04 13:11 UTCEPSS rescore
  24. 2026-06-02 20:12 UTCEPSS rescore
  25. 2026-06-02 20:12 UTCEPSS rescore
  26. 2026-06-01 13:51 UTCEPSS rescore
  27. 2026-05-31 22:30 UTCEPSS rescore
  28. 2026-05-31 22:30 UTCEPSS rescore
  29. 2026-05-31 00:15 UTCEPSS rescore
  30. 2026-05-31 00:15 UTCEPSS rescore
  31. 2026-05-29 13:43 UTCEPSS rescore
  32. 2026-05-28 13:44 UTCEPSS rescore
  33. 2026-05-28 13:44 UTCEPSS rescore
  34. 2026-05-24 09:38 UTCEG score recompute
  35. 2026-05-24 09:38 UTCGHSA enrichment

Publicly available exploits

(1 reference)

Working exploit code is in the public domain (1 GitHub PoC). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • GitHub PoCdoyensec/malicious-devfile-registry
    First seen Mar 10, 2025

    Exploit for CVE-2024-0402 in Gitlab

    Open source ↗

Frequently asked(5)

What is CVE-2024-0402?
CVE-2024-0402 is a critical vulnerability published on January 26, 2024. An issue has been discovered in GitLab CE/EE affecting all versions from 16.0 prior to 16.6.6, 16.7 prior to 16.7.4, and 16.8 prior to 16.8.1 which allows an authenticated user to write files to arbitrary locations on the GitLab server while creating a workspace.
When was CVE-2024-0402 disclosed?
CVE-2024-0402 was first published in the National Vulnerability Database on January 26, 2024, with the most recent update on June 3, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2024-0402 actively exploited?
CVE-2024-0402 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 87.0% percentile likelihood of exploitation in the next 30 days — higher percentiles indicate greater predicted risk.
What is the CVSS score of CVE-2024-0402?
CVE-2024-0402 has a CVSS v4.0 base score of 9.9 (CNA self-assessment; NVD's own analysis pending).
How do I remediate CVE-2024-0402?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2024-0402, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2024-0402

Explore →

Is Your Infrastructure Affected by CVE-2024-0402?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.