Skip to content
OpenAdvisories
Critical · 10.0 Scanner template Public exploit CVE-2023-2825 EUVD-2023-34276GHSA-x4jh-5c6x-h92v

An issue has been discovered in GitLab CE/EE affecting only version 16.0.0. An unauthenticated malicious user can use a path traversal vuln…

Published May 26, 2023 · Updated Jan 15, 2025 · Assigned by GitLab

Description

An issue has been discovered in GitLab CE/EE affecting only version 16.0.0. An unauthenticated malicious user can use a path traversal vulnerability to read arbitrary files on the server when an attachment exists in a public project nested within at least five groups.

Affected products

VendorProductAffectedFixed
GitLab GitLab 16.0.0 —

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 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 7 repositories

  • Occamsec/CVE-2023-2825 ★ 139 · May 25, 2023

    GitLab CVE-2023-2825 PoC. This PoC leverages a path traversal vulnerability to retrieve the /etc/passwd file from a system running GitLab 16.0.0.

  • Groppoxx/CVE-2023-2825-PoC ★ 4 · May 17, 2026

    PoC for CVE-2023-2825: automated GitLab 16.0.0 arbitrary file read via nested public groups, project upload traversal, reusable upload paths, and clean CLI output.

  • Exploiting CVE-2023-2825 on a VM

  • cc3305/CVE-2023-2825 ★ 0 · Jun 20, 2024

    CVE-2023-2825 exploit script

  • caopengyan/CVE-2023-2825 ★ 0 · Sep 10, 2023
  • Rubikcuv5/CVE-2023-2825 ★ 0 · Jun 5, 2023

    On May 23, 2023 GitLab released version 16.0.1 which fixed a critical vulnerability, CVE-2023-2825, affecting the Community Edition (CE) and Enterprise Edition (EE) version 16.0.0. The vulnerability …

  • Tornad0007/CVE-2023-2825-Gitlab ★ 0 · May 30, 2023

    the proof of concept written in Python for an unauthenticated malicious user can use a path traversal vulnerability to read arbitrary files on the server when an attachment exists in a public project…

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

Advisories 1

References