CVE-2026-5816
Gitlab 18.10.0 – 18.10.4
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2026-5816 is a high-severity Improper Resolution of Path Equivalence (CWE-41) vulnerability in Gitlab. Its CVSS base score is 8.0 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 44th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2026-5816 is a vulnerability in GitLab Community Edition (CE) and Enterprise Edition (EE) that stems from improper path validation, enabling an unauthenticated user to execute arbitrary JavaScript in a victim's browser session under certain conditions. It affects all versions from 18.10 prior to 18.10.4 and 18.11 prior to 18.11.1. The issue has a CVSS v3.1 base score of 8.0 (AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:N) and is associated with CWE-41 (Improper Resolution of Path Equivalence).
An unauthenticated attacker with network access can exploit this vulnerability by tricking a user into interacting with a maliciously crafted request or resource that bypasses path validation checks. Exploitation requires high attack complexity and user interaction, but successful execution allows the attacker to achieve high-impact confidentiality and integrity violations within the changed scope of the victim's browser session, such as stealing session cookies, data, or performing actions on behalf of the user.
GitLab has remediated the issue with patch releases, including GitLab 18.11.1 and 18.10.4, as detailed in their release notes. Additional information is available in the associated GitLab work item (gitlab.com/gitlab-org/gitlab/-/work_items/592816) and the originating HackerOne disclosure report (hackerone.com/reports/3572231). Security practitioners should prioritize upgrading affected instances to patched versions.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2026-25046
Vulnerability Data
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…
more
under certain conditions.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
Input validation of file paths directly rejects or normalizes the special-character manipulations that create equivalent names.
Proper enforcement of file access authorizations structurally blocks disclosure when equivalent paths are presented.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect path-equivalence flaws before release, partially fulfilling the control.
Training developers about path canonicalization and special-character handling reduces some instances of this implementation defect, but it is a specific technical detail that most developers do not encounter or internalize, so the effect is a minority one — consistent with the A.6.3 vs CWE-598 anchor at the same rung.
Secure coding standards directly require canonical path resolution and input sanitization to prevent equivalence attacks.
A.8.30 carries its effect through the secure-development practices its contract requires of the supplier (8.25 to 8.29), so it reduces ordinary software implementation weaknesses in delivered code the way those practices do; CWE-41 is an ordinary implementation defect in path handling, and the same `partial` ceiling the owner set for A.8.30 -> CWE-134 applies here.
A.8.8's reach is DISCLOSURE — it sees only instances that carry a vendor-published flaw. CWE-41 commonly surfaces as CVEs (many observed examples listed), so the disclosed share is non-trivial, but it remains a minority of latent instances because most path-equivalence defects live in first-party code that no advisory has been published about.