Skip to content
OpenAdvisories
Medium · 6.3 CVE-2023-3385 EUVD-2023-44052GHSA-f8q5-vhrp-8mfc

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

Published Aug 1, 2023 · Updated Nov 20, 2025 · Assigned by GitLab

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`](https://lists.gnu.org/archive/html/info-gnu/2023-07/msg00005.html).

Affected products

VendorProductAffectedFixed
GitLab GitLab 8.10 – < 16.0.8, 16.1.0 – < 16.1.3, 16.2.0 – < 16.2.2 16.0.8

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Ubuntu 16.04 LTS gitlab No fix yet —

Advisories 1

References