Vulnerability in GitLab

CVE-2025-1042

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.

Published · last modified .

CVSS v3 metric

CVSS v3 base score 4.9 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N.

EPSS exploit prediction

EPSS: 0.004 (35.2th percentile), scored .

Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 35th percentile — 35.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2025-1042: held from 0.004 to 0.004.

EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: +0.000

Affected products

  • GitLab — versions 15.7, 17.7, 17.8

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2025-1042?
CVE-2025-1042 is a medium-severity vulnerability in GitLab, classified under Files or Directories Accessible to External Parties. CVSS score: 4.9/10. Published 2025-02-12.
How severe is CVE-2025-1042?
Medium severity. CVSS v3 base score is 4.9 out of 10.
Is CVE-2025-1042 known to be exploited?
1 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.