{"id":"CVE-2025-1042","state":"PUBLISHED","title":"Files or Directories Accessible to External Parties in GitLab","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.","publishedAt":"2025-02-12T15:02:02.171Z","updatedAt":"2025-02-12T15:12:26.513Z","severity":{"score":4.9,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.7","status":"affected","lessThan":"17.6.5","versionType":"semver"},{"version":"17.7","status":"affected","lessThan":"17.7.4","versionType":"semver"},{"version":"17.8","status":"affected","lessThan":"17.8.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/50849943","https://hackerone.com/reports/2886976"],"weaknesses":["CWE-552"],"ingestedAt":"2026-10-29T20:08:39.238Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/1xxx/CVE-2025-1042.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-1042","state":"PUBLISHED","datePublished":"2025-02-12T15:02:02.171Z","dateUpdated":"2025-02-12T15:12:26.513Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-02-04T20:30:41.930Z"},"containers":{"cna":{"title":"Files or Directories Accessible to External Parties in GitLab","descriptions":[{"lang":"en","value":"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":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.7","status":"affected","lessThan":"17.6.5","versionType":"semver"},{"version":"17.7","status":"affected","lessThan":"17.7.4","versionType":"semver"},{"version":"17.8","status":"affected","lessThan":"17.8.2","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/50849943","name":"GitLab Issue #50849943","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/2886976","name":"HackerOne Bug Bounty Report #2886976","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:N/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"HIGH","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"NONE","availabilityImpact":"NONE","baseScore":4.9,"baseSeverity":"MEDIUM"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-552","lang":"en","description":"CWE-552: Files or Directories Accessible to External Parties","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2025-02-12T15:02:02.171Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 17.6.5, 17.7.4, 17.8.2 or above."}],"credits":[{"lang":"en","value":"Thanks [mateuszek](https://hackerone.com/mateuszek) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-02-12T15:12:21.875682Z","id":"CVE-2025-1042","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-02-12T15:12:26.513Z"}}]}}}