Read the docs
TI-2024-00364 Aliases CVE-2024-0402GHSA-3hm6-rvrr-hc6r

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

Priority HIGH 76CWE-22Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.03783 90th percentileScored 2026-11-07
Fix Fixed GitLab (GitLab): 16.5.8, 16.6.6, 16.7.4 +1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitLabGitLab16.0 to before 16.5.8; 16.6 to before 16.6.6; 16.7 to before 16.7.4; 16.8 to before 16.8.116.5.8, 16.6.6, 16.7.4, 16.8.1Patch availableCNA
  • GitLab VendorGitLab Affected 16.0 to before 16.5.8; 16.6 to before 16.6.6; 16.7 to before 16.7.4; 16.8 to before 16.8.1 Fixed in 16.5.8, 16.6.6, 16.7.4, 16.8.1 Patch available CNA

CPE configurations NVD · 8

CPEVersionsRoleVendor
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.0.0 to before 16.5.8VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.0.0 to before 16.5.8VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.6.0 to before 16.6.6VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.6.0 to before 16.6.6VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.7.0 to before 16.7.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.7.0 to before 16.7.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:community:*:*:*16.8.0VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:enterprise:*:*:*16.8.0VulnerableGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.0.0 to before 16.5.8 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.0.0 to before 16.5.8 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.6.0 to before 16.6.6 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.6.0 to before 16.6.6 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.7.0 to before 16.7.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.7.0 to before 16.7.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:community:*:*:* Versions 16.8.0 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:16.8.0:*:*:*:enterprise:*:*:* Versions 16.8.0 Vulnerable ·GitLab

Remediation

  • Fix · CNA GitLab (GitLab) Fixed in 16.5.8, 16.6.6, 16.7.4, 16.8.1

Timeline

  1. 2026-10-02 Threatist record created from CVE-2024-0402
  2. 2026-10-03 Alias added: GHSA-3hm6-rvrr-hc6r
  3. 2026-11-06 EPSS moved to the 90th–95th percentile

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2026-58817 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2023-06425 Weak Password Recovery Mechanism for Forgotten Password in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-05191 Code injection in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-05161 Server-side request forgery in GitLab KEVCVSS 3.1CRITICAL 9.8
  • TI-2022-02763 Injection in GitLab CVSS 3.1CRITICAL 9.9
See all 1506 →

Sources