CVE-2024-0402
criticalpriority · attend · 51EPSS 0.038 · 90 %ileexploit · PoCDEEURUUSEPSS · scored 2026-10-26
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
- doyensec/malicious-devfile-registryExploit for CVE-2024-0402 in GitlabPoC · poc_in_github
affected products (32)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- WID-SEC-W-2024-0216GitLab: Mehrere SchwachstellenDeutsch2024-01-25csaf · cert_bundDE
Ein entfernter, authentisierter Angreifer kann mehrere Schwachstellen in GitLab ausnutzen, um beliebigen Programmcode auszuführen, unbekannte Auswirkungen zu verursachen, Dateien zu manipulieren, einen Denial of Service Zustand herbeizuführen oder Sicherheitsvorkehrungen zu umgehen.
- BIT-gitlab-2024-0402Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab2024-03-06vendor · osvUS
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.
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/cnnvd
- https://cxsecurity.com/cveshow/CVE-2024-0402/cnnvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/437819cnnvd
- https://www.auscert.org.au/bulletins/ESB-2024.0714cnnvd
- https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/enisa_euvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/437819enisa_euvd
- https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/Vendor Advisorynvd
- https://gitlab.com/gitlab-org/gitlab/-/issues/437819Broken Linknvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan