{"id":"CVE-2026-85706","state":"PUBLISHED","title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab","description":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.7 before 18.11.12, 19.0 before 19.0.9, 19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that, under certain conditions, an unauthenticated user could have read arbitrary files from the GitLab server due to improper path confinement and missing authentication enforcement in the repository commits API.","publishedAt":"2026-09-12T02:46:31.624Z","updatedAt":"2026-09-23T21:03:18.163Z","severity":{"score":10,"label":"Critical","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.7","status":"affected","lessThan":"18.11.12","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.0.9","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.8","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.6","versionType":"semver"},{"version":"19.3","status":"affected","lessThan":"19.3.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":["https://gitlab.com/gitlab-org/gitlab/-/work_items/627748","https://hackerone.com/reports/3909881","https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-85706"],"weaknesses":["CWE-22"],"ingestedAt":"2026-10-29T20:13:15.269Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/85xxx/CVE-2026-85706.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-85706","state":"PUBLISHED","datePublished":"2026-09-12T02:46:31.624Z","dateUpdated":"2026-09-23T21:03:18.163Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-09-04T14:34:20.856Z"},"containers":{"cna":{"title":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.7 before 18.11.12, 19.0 before 19.0.9, 19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that, under certain conditions, an unauthenticated user could have read arbitrary files from the GitLab server due to improper path confinement and missing authentication enforcement in the repository commits API."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.7","status":"affected","lessThan":"18.11.12","versionType":"semver"},{"version":"19.0","status":"affected","lessThan":"19.0.9","versionType":"semver"},{"version":"19.1","status":"affected","lessThan":"19.1.8","versionType":"semver"},{"version":"19.2","status":"affected","lessThan":"19.2.6","versionType":"semver"},{"version":"19.3","status":"affected","lessThan":"19.3.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/627748"},{"url":"https://hackerone.com/reports/3909881","name":"HackerOne Bug Bounty Report #3909881","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":10,"baseSeverity":"CRITICAL","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-09-23T21:03:18.163Z"},"credits":[{"lang":"en","type":"finder","value":"Thanks [s3ntago](https://hackerone.com/s3ntago) for reporting this vulnerability through our HackerOne bug bounty program"}],"solutions":[{"lang":"en","value":"Upgrade to versions 18.11.12, 19.0.9, 19.1.8, 19.2.6, 19.3.2 or above."}]},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-85706","tags":["government-resource"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-09-12T03:55:28.970728Z","id":"CVE-2026-85706","options":[{"Exploitation":"active"},{"Automatable":"yes"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}},{"other":{"type":"kev","content":{"dateAdded":"2026-09-11","reference":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-85706"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-09-12T11:08:14.424Z"}}]}}}