# CVE-2025-1042: Files or Directories Accessible to External Parties in GitLab

> CVE-2025-1042: Files or Directories Accessible to External Parties in GitLab. CVSS 4.9 (CVSS 3.1).

Canonical: https://rewindex.com/cve/CVE-2025-1042
Last updated: 2026-06-17T08:38:16Z

- Published: 2025-02-12 15:02 UTC · Updated: 2026-06-17 08:38 UTC · Assigner: GitLab
- CVSS: 4.9 (CVSS 3.1) · Severity: Medium · Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.43%, 37th percentile (scored 2026-10-25)
- CISA KEV: no
- CWE: CWE-552

## Description

An insecure direct object reference vulnerability in GitLab EE affecting all versions from 15.7 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2 allows an attacker to view repositories in an unauthorized way.

## Affected vendors and products

- GitLab: GitLab

## Tracked companies

- [GitLab](https://rewindex.com/company/gitlab.md)

## References

- [CVE record on cve.org](https://www.cve.org/CVERecord?id=CVE-2025-1042)
- [NVD entry](https://nvd.nist.gov/vuln/detail/CVE-2025-1042)
- [https://gitlab.com/gitlab-org/gitlab/-/issues/50849943](https://gitlab.com/gitlab-org/gitlab/-/issues/50849943)
- [https://hackerone.com/reports/2886976](https://hackerone.com/reports/2886976)

---

_Sources: CVE records from the CVE Program (cve.org). CVE® is a registered trademark of The MITRE Corporation. (https://www.cve.org/) This product uses data from the NVD API but is not endorsed or certified by the NVD. (https://nvd.nist.gov/) Known Exploited Vulnerabilities catalog from CISA. (https://www.cisa.gov/known-exploited-vulnerabilities-catalog) EPSS scores from FIRST (Exploit Prediction Scoring System). (https://www.first.org/epss/)_


---
Canonical: https://rewindex.com/cve/CVE-2025-1042 · Markdown: https://rewindex.com/cve/CVE-2025-1042.md · JSON: https://rewindex.com/api/v1/cves/CVE-2025-1042 · Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) · Generated 2026-10-26T03:11:51.170Z
