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

Published Feb 12, 2025
·
Updated

An improper access control 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 a user with a custom permission to view contents of a repository even if that access is not authorized. This is a low severity issue (CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:N/A:N, 2.7). It is now mitigated in the latest release and is assigned CVE-2025-1042.

Other sources

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.

MITRE

Affected Software

5 affected componentsFixes available
GitLab GitLab EE>15.7, <17.6.5, >17.7, <17.7.4, >17.8, <17.8.2
GitLab GitLab>=15.7.0<17.6.5
GitLab GitLab>=17.7.0<17.7.4
GitLab GitLab>=17.8.0<17.8.2
GitLab GitLab EE>=15.7<17.6.5, >=17.7<17.7.4, >=17.8<17.8.2
17.6.517.7.417.8.2

Remediation

Information

Upgrade to versions 17.6.5, 17.7.4, 17.8.2 or above.

Event History

Feb 12, 2025
CVE Published
via MITRE·03:02 PM
Data Sourced
via MITRE·03:02 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·03:15 PM
DescriptionSeverityWeaknessAffected Software
Apr 22, 2026
Data Sourced
via GitLab·08:55 AM
DescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-1042?

The severity of CVE-2025-1042 is considered critical due to the potential unauthorized access to repositories.

2

How do I fix CVE-2025-1042?

To fix CVE-2025-1042, update your GitLab EE installation to version 17.6.5, 17.7.4, or 17.8.2 or later.

3

What versions are affected by CVE-2025-1042?

CVE-2025-1042 affects all versions of GitLab EE from 15.7 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2.

4

What type of vulnerability is CVE-2025-1042?

CVE-2025-1042 is an insecure direct object reference vulnerability.

5

What impacts can CVE-2025-1042 have on users?

CVE-2025-1042 can allow attackers to view repositories that they should not have access to, compromising data confidentiality.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203