{"id":"CVE-2026-85706","summary":"Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab","details":"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.","aliases":["BIT-gitlab-2026-85706"],"modified":"2026-10-30T10:30:26.234292211Z","published":"2026-09-12T02:46:31.624Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85706.json","unresolved_ranges":[{"extracted_events":[{"strategy":"StandardRange","range":[{"introduced":"18.7"},{"fixed":"18.11.12"},{"introduced":"19.0"},{"fixed":"19.0.9"},{"introduced":"19.1"},{"fixed":"19.1.8"},{"introduced":"19.2"},{"fixed":"19.2.6"},{"introduced":"19.3"},{"fixed":"19.3.2"}],"source":"AFFECTED_FIELD"}]},{"extracted_events":[{"range":[{"introduced":"18.7"},{"fixed":"18.11.12"},{"introduced":"19.0"},{"fixed":"19.0.9"},{"introduced":"19.1"},{"fixed":"19.1.8"},{"introduced":"19.2"},{"fixed":"19.2.6"},{"introduced":"19.3"},{"fixed":"19.3.2"}],"source":"DESCRIPTION"}]}],"cna_assigner":"GitLab","cwe_ids":["CWE-22"]},"references":[{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/627748"},{"type":"WEB","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2026-85706"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/85xxx/CVE-2026-85706.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85706"},{"type":"REPORT","url":"https://hackerone.com/reports/3909881"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"ceaa3c8b3a5ddb810b246bff3029e68cc57caf94"},{"fixed":"4b537b4c2227a44f3f9935e783212b1cf927e961"},{"introduced":"f07e3c5b3c8128be5db112e5b2b618fe31ea1b35"},{"fixed":"28286047c9f2e2a9fd02c6cf0979954241ecc085"},{"introduced":"67581074a0aab1f53cdafe7eead5f5d07f3afec8"},{"fixed":"ec0fce03a55d83fb520d92d1428491e950dd51f4"},{"introduced":"68485a1eb627c9a992f266263157327649822db3"},{"fixed":"684d9581bfefb68c8593331266b69702589d80a3"},{"introduced":"8f83039bebbbb61d3b7b8b7e2342d1deec1e14c6"},{"fixed":"601afd607baae60e14e83e16fb9dea03cf8c7032"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"18.7.0"},{"fixed":"18.11.12"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"18.7.0"},{"fixed":"18.11.12"}],"source":"CPE_RANGE"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"19.0.0"},{"fixed":"19.0.9"}],"source":"CPE_RANGE"},{"range":[{"introduced":"19.0.0"},{"fixed":"19.0.9"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","range":[{"introduced":"19.1.0"},{"fixed":"19.1.8"}],"source":"CPE_RANGE"},{"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"19.1.0"},{"fixed":"19.1.8"}]},{"range":[{"introduced":"19.2.0"},{"fixed":"19.2.6"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","range":[{"introduced":"19.2.0"},{"fixed":"19.2.6"}],"source":"CPE_RANGE"},{"range":[{"introduced":"19.3.0"},{"fixed":"19.3.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*"},{"range":[{"introduced":"19.3.0"},{"fixed":"19.3.2"}],"source":"CPE_RANGE","cpe":"cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*"}]}}],"versions":["v19.3.0-ee","v19.1.0-ee","v19.2.0-ee","v19.0.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-85706.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N"}]}