CVE-2026-5816 Details
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.
A vulnerability exists in GitLab Community Edition (CE) and Enterprise Edition (EE) versions 18.10 prior to 18.10.4 and 18.11 prior to 18.11.1. This vulnerability could have allowed an unauthenticated user to execute arbitrary JavaScript in a user's browser session. The issue stems from improper path validation under certain conditions, which could have been exploited to inject malicious scripts.
Users are advised to upgrade to GitLab versions 18.11.1, 18.10.4, or 18.9.6. Instructions for updating GitLab can be found on the GitLab Update page. This patch includes important security fixes, but be aware that it may cause downtime during the upgrade process for single-node instances.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://about.gitlab.com/releases/2026/04/22/patch-release-gitlab-18-11-1-released/ | [email protected] | Release NotesVendor Advisory |
| https://gitlab.com/gitlab-org/gitlab/-/work_items/592816 | [email protected] | Broken Link |
| https://hackerone.com/reports/3572231 | [email protected] | Permissions Required |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-41 | Improper Resolution of Path Equivalence | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitlab gitlab | >= 18.10.0, < 18.10.4 18.11.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 23, 2026 | Initial Analysis | [email protected] |
| Apr 22, 2026 | New CVE Received | [email protected] |