Skip to main content
Public proof of conceptFix available

CVE-2024-0402

A public proof of concept exists; no exploitation attested.

  • Published2024-01-26
  • Fixed in16.7.4 · 16.6.6 · 16.5.8
  • WeaknessCWE-22

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2024-01-2601:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Observed activity

isMalicious corpus · updated 2026-10-23 18:48 UTC
Indicators tagged with this CVE, per day0 indicators over 7 days
Block these indicators
  • Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2024-0402?format=txt
  • CSV export: https://api.ismalicious.com/edl/cve/CVE-2024-0402?format=csv
  • TAXII collection of exploited CVEs
  • The EDL and CSV take an API key on the Pro plan.

Versions per branch

NVD
GitLab
BranchAffectedFixed in
16.7≥ 16.7.0, < 16.7.416.7.4
16.6≥ 16.6.0, < 16.6.616.6.6
16.x≥ 16.0.0, < 16.5.816.5.8
16.8= 16.8.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Fix

  1. Update GitLab to 16.7.4 · 16.6.6 · 16.5.8

Advisories and patches

Detection

read 2026-10-23 19:23 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof-of-concept repositories
1 repository, unverifieddoyensec/malicious-devfile-registry
PoC-in-GitHub

Sources

  • CISA-ADPSSVC decisionpoc2025-06-03
  • OpenCVESSVC decisionpoc—
  • CNACVSS 3.19.9read 2026-10-23
  • NVDCVSS 3.19.9read 2026-10-23
  • CNAweakness (CWE)CWE-22read 2026-10-23
  • NVDweakness (CWE)CWE-22read 2026-10-23
  • FIRST EPSSEPSS score3.8 %2026-10-22
  • PoC-in-GitHubproof of concept1read 2026-10-23

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Published
2024-01-26
Last Modified
2026-06-17
NVD status
Modified

Frequently asked questions

What is CVE-2024-0402?

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.

Is CVE-2024-0402 actively exploited?

A proof-of-concept exploit exists for CVE-2024-0402, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-0402?

CVE-2024-0402 has a CVSS v3 base score of 9.9 (CRITICAL severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Hear about the next vulnerability in your software

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month