9.9critical
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
- Severity
- 9.9critical CVSS:3.1 by GitLab
- Exploit likelihood
- 3.78% (higher than 90% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitLab
- Also known as
- BIT-GITLAB-2024-0402
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitLab GitLab | from 16.0 before 16.5.8, from 16.6 before 16.6.6, from 16.7 before 16.7.4, from 16.8 before 16.8.1, from 16.0.0 before 16.5.8, from 16.6.0 before 16.6.6, from 16.7.0 before 16.7.4, 16.8.0 | CVE List, NVD |
| gitlab (Bitnami) | from 16.0.0 before 16.5.8, from 16.6.0 before 16.6.6, from 16.7.0 before 16.7.4, from 16.8.0 before 16.8.1 | Bitnami Vulnerability Database |
All scores
| GitLab | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.9critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| Bitnami Vulnerability Database | critical rating |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
Se descubrió un problema en GitLab CE/EE que afecta a todas las versiones desde 16.0 anterior a 16.6.6, 16.7 anterior a 16.7.4 y 16.8 anterior a 16.8.1, lo que permite a un usuario autenticado escribir archivos en ubicaciones arbitrarias en el servidor GitLab mientras crea un workspace.
References
| https://about.gitlab.com/releases/2024/01/25/critical-security-release-gitlab-16-8-1-released/ | advisory, vendor-advisory | |
| https://gitlab.com/gitlab-org/gitlab/-/issues/437819 | broken-link, issue-tracking, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-0402 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-0402 changed 2026-06-03 | CVE Terms of Use |
| NVD | CVE-2024-0402 changed 2026-06-17 | Public domain |
| Bitnami Vulnerability Database | BIT-GITLAB-2024-0402 changed 2026-09-08 | Apache-2.0 |