What’s Vulnerable › Vulnerabilities
CVE-2025-1042: Files or Directories Accessible to External Parties in GitLab
- Severity: high (CVSS 7.5 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.4% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2025-02-12 · updated 2026-06-17
- Weakness: 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 products
- GitLab: from 15.7.0 before 17.6.5; from 17.7.0 before 17.7.4; from 17.8.0 before 17.8.2 — fixed in 17.6.5, 17.7.4, 17.8.2
How to fix
Upgrade to a fixed version: GitLab 17.6.5, 17.7.4, 17.8.2. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2025-1042 or the next vulnerability affects your stack