{"id":"CVE-2026-5816","state":"PUBLISHED","title":"Improper Resolution of Path Equivalence in GitLab","description":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.10 before 18.10.4 and 18.11 before 18.11.1 that could have allowed an unauthenticated user to execute arbitrary JavaScript in a user's browser session due to improper path validation under certain conditions.","publishedAt":"2026-04-22T16:04:26.293Z","updatedAt":"2026-04-23T03:56:09.061Z","severity":{"score":8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/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.10","status":"affected","lessThan":"18.10.4","versionType":"semver"},{"version":"18.11","status":"affected","lessThan":"18.11.1","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":["https://hackerone.com/reports/3572231","https://gitlab.com/gitlab-org/gitlab/-/work_items/592816","https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/"],"weaknesses":["CWE-41"],"ingestedAt":"2026-10-29T20:12:32.778Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/5xxx/CVE-2026-5816.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-5816","state":"PUBLISHED","datePublished":"2026-04-22T16:04:26.293Z","dateUpdated":"2026-04-23T03:56:09.061Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2026-04-08T15:33:27.101Z"},"containers":{"cna":{"title":"Improper Resolution of Path Equivalence in GitLab","descriptions":[{"lang":"en","value":"GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.10 before 18.10.4 and 18.11 before 18.11.1 that could have allowed an unauthenticated user to execute arbitrary JavaScript in a user's browser session due to improper path validation under certain conditions."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"18.10","status":"affected","lessThan":"18.10.4","versionType":"semver"},{"version":"18.11","status":"affected","lessThan":"18.11.1","versionType":"semver"}],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git","cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"]}],"references":[{"url":"https://hackerone.com/reports/3572231","name":"HackerOne Bug Bounty Report #3572231","tags":["technical-description","exploit","permissions-required"]},{"url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/592816"},{"url":"https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"CHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8,"baseSeverity":"HIGH"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-41","lang":"en","description":"CWE-41: Improper Resolution of Path Equivalence","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2026-04-22T16:04:26.293Z"},"solutions":[{"lang":"en","value":"Upgrade to versions 18.10.4, 18.11.1 or above."}],"credits":[{"lang":"en","value":"Thanks [joaxcar](https://hackerone.com/joaxcar) for reporting this vulnerability through our HackerOne bug bounty program","type":"finder"}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-04-22T00:00:00+00:00","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3","id":"CVE-2026-5816"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-04-23T03:56:09.061Z"}}]}}}