{"id":"CVE-2026-5816","summary":"Improper Resolution of Path Equivalence in GitLab","details":"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.","aliases":["BIT-gitlab-2026-5816"],"modified":"2026-08-27T11:30:47.365038652Z","published":"2026-04-22T16:04:26.293Z","database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5816.json","unresolved_ranges":[{"extracted_events":[{"introduced":"18.10"},{"fixed":"18.10.4"},{"introduced":"18.11"},{"fixed":"18.11.1"}],"source":"AFFECTED_FIELD"},{"source":"DESCRIPTION","extracted_events":[{"introduced":"18.10"},{"fixed":"18.10.4"},{"introduced":"18.11"},{"fixed":"18.11.1"}]}],"cna_assigner":"GitLab","cwe_ids":["CWE-41"]},"references":[{"type":"WEB","url":"https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/"},{"type":"WEB","url":"https://gitlab.com/gitlab-org/gitlab/-/work_items/592816"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/5xxx/CVE-2026-5816.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-5816"},{"type":"REPORT","url":"https://hackerone.com/reports/3572231"},{"type":"PACKAGE","url":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://gitlab.com/gitlab-org/gitlab","events":[{"introduced":"57c08314af5bc8f317b1967330f92ed029e2c628"},{"fixed":"2c4a87e00b3f5ab1eab353136020dfcab34ae6ca"},{"introduced":"1060c7b0ff78be7c8abe8fd6d23dcb1ca493fd78"},{"last_affected":"1060c7b0ff78be7c8abe8fd6d23dcb1ca493fd78"}],"database_specific":{"cpe":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*","cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:community:*:*:*","cpe:2.3:a:gitlab:gitlab:18.11.0:*:*:*:enterprise:*:*:*"],"extracted_events":[{"introduced":"18.10.0"},{"fixed":"18.10.4"},{"introduced":"18.11.0"},{"last_affected":"18.11.0"}],"source":["CPE_RANGE","CPE_STRING"]}}],"versions":["18.11.0","v18.11.0-ee","v18.10.2-ee","v18.10.0-ee"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-5816.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N"}]}