CVE-2023-3385

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

Published Aug 1, 2023 CVSS 3.1 · 6.3 Medium EPSS < 1% KEV · Not listed
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).

Remediation

Vendor Solution

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2023-44052 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).
History
Type Values Removed Values Added
Metrics ssvc

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

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

Sources

Status
PUBLISHED
Assigner
GitLab
Published
Updated
Nov 20, 2025, 4:07 AM
Reserved
Jun 23, 2023, 10:15 AM
Status
Modified
Published
Aug 2, 2023, 12:15 AM
Modified
Jun 17, 2026, 6:13 AM
Severity
Moderate
Public date
Aug 2, 2023, 12:00 AM