CVE-2024-0402
JSON

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 packageVersionsReported by
GitLab GitLabfrom 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.0CVE 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.1Bitnami Vulnerability Database

All scores

GitLab9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
NVD9.9critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Bitnami Vulnerability Databasecritical rating

Classification

CWE-22

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

Sources

SourceRecordLicence
CVE ListCVE-2024-0402 changed 2026-06-03CVE Terms of Use
NVDCVE-2024-0402 changed 2026-06-17Public domain
Bitnami Vulnerability DatabaseBIT-GITLAB-2024-0402 changed 2026-09-08Apache-2.0