CVE-2026-5816: Cross-site scripting in GitLab Web IDE asset serving
- Vendor
- GitLab
CVE-2026-5816 is an improper resolution of path equivalence vulnerability in GitLab CE/EE's Web IDE asset serving component. Affected versions fail to correctly normalize and validate certain URL paths before serving Web IDE assets, allowing path equivalence tricks to bypass intended path-based restrictions under specific conditions. By supplying a specially crafted request, an unauthenticated attacker can cause attacker-controlled JavaScript to be delivered and executed in the browser context of an authenticated GitLab user. The issue affects GitLab CE/EE 18.10.x before 18.10.4 and 18.11.x before 18.11.1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation results in arbitrary JavaScript execution in the victim's authenticated GitLab browser session. This can enable session hijacking, access to sensitive data available to the victim, and execution of actions with the victim's privileges. Depending on the victim's role, impact may include repository access, malicious commits, data exfiltration, or administrative compromise of the GitLab instance. The published CVSS v3.1 vector indicates high confidentiality and integrity impact with no direct availability impact.
Mitigation
If you can’t patch tonight, do this now.
No documented workaround is available. Where immediate patching is not possible, reduce exposure by restricting external access to affected GitLab instances and limiting or blocking access to Web IDE-related paths until upgrades can be completed.
Remediation
Patch, then assume compromise.
Upgrade GitLab CE/EE to a fixed release. GitLab remediated the issue in versions 18.10.4 and 18.11.1. GitLab.com was patched by the vendor directly. Self-managed deployments running affected 18.10.x or 18.11.x releases should update to the corresponding patched version or a later fixed release.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
Frequently asked questions
- Is CVE-2026-5816 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2026-5816 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-5816?
- As of Sep 25, 2026, Mallory has found no public exploit for CVE-2026-5816.
- Is there a patch for CVE-2026-5816?
- Upgrade GitLab CE/EE to a fixed release. GitLab remediated the issue in versions 18.10.4 and 18.11.1.
- What products are affected by CVE-2026-5816?
- Gitlab.
- How severe is CVE-2026-5816?
- CVE-2026-5816 has a CVSS v3.1 score of 8.1 (High) and an EPSS score of 0.41% (36th percentile) as of Sep 25, 2026.
Recent activity
10 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.