Path Traversal in Gitlab

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.

Vulnerability class: Path Traversal (Directory Traversal)

EPSS: 0.033 (87.3th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 9.9 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H.

Affected products

  • Gitlab — versions 16.8.0, 16.8, 16.7

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-0402?
CVE-2024-0402 is a critical-severity vulnerability in Gitlab, classified under Path Traversal. CVSS score: 9.9/10. Published 2024-01-26.
How severe is CVE-2024-0402?
Critical severity. CVSS v3 base score is 9.9 out of 10.
Is CVE-2024-0402 known to be exploited?
7 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.