Unrated severityNVD Advisory· Published Aug 1, 2023· Updated Nov 20, 2025
Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab
CVE-2023-3385
Description
An issue has been discovered in GitLab affecting all versions starting from 8.10 before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. Under specific circumstances, a user importing a project 'from export' could access and read unrelated files via uploading a specially crafted file. This was due to a bug in tar, fixed in `tar-1.35`.
Affected products
3cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*+ 1 more
- cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*range: 8.10
- (no CPE)range: >=8.10, <16.0.8; >=16.1, <16.1.3; >=16.2, <16.2.2
Patches
Vulnerability mechanics
References
2- hackerone.com/reports/2032730mitretechnical-descriptionexploitpermissions-required
- gitlab.com/gitlab-org/gitlab/-/issues/416161mitreissue-tracking
News mentions
1- GitLab Security Release: 16.2.2, 16.1.3, and 16.0.8GitLab Security Releases · Aug 1, 2023