CVE-2024-0402

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab

Published Jan 26, 2024 CVSS 3.1 · 9.9 Critical EPSS 3.8% KEV · Not listed
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.

Remediation

Vendor Solution

Upgrade to versions 16.8.1, 16.7.4, 16.6.6, 16.5.8 or above.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
CPEs cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Jun 3, 2026, 4:08 AM
Reserved
Jan 10, 2024, 4:30 PM
Status
Modified
Published
Jan 26, 2024, 1:15 AM
Modified
Jun 17, 2026, 6:53 AM