{"id":"CVE-2023-6840","aliases":["BIT-gitlab-2023-6840","EUVD-2023-59045","GHSA-8jj6-7vgp-rg47","UBUNTU-CVE-2023-6840"],"status":"published","title":"Missing Authorization in GitLab","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","severity":{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00558,"percentile":0.47019,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-284","CWE-862"],"published":"2024-02-07T22:02:20Z","modified":"2026-10-28T02:31:01Z","fixes":[{"ecosystem":"Bitnami","package":"gitlab","fixed_in":["16.6.7","16.7.5","16.8.2"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Bitnami","package":"gitlab","ranges":[{"type":"SEMVER","events":[{"introduced":"16.4.0"},{"fixed":"16.6.7"},{"introduced":"16.7.0"},{"fixed":"16.7.5"},{"introduced":"16.8.0"},{"fixed":"16.8.2"}]}]},{"source":"osv","ecosystem":"Ubuntu:16.04:LTS","package":"gitlab","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["8.4.3+dfsg-9","8.4.3+dfsg-12","8.5.8+dfsg-5"]}],"products":[{"vendor":"gitlab","product":"gitlab"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/435500","tags":["issue-tracking","permissions-required","x_transferred","Issue Tracking","Permissions Required","report"]},{"url":"https://hackerone.com/reports/2280292","tags":["technical-description","exploit","permissions-required","x_transferred","Permissions Required","Technical Description","article","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-6840","tags":["web","advisory"]},{"url":"https://github.com/advisories/GHSA-8jj6-7vgp-rg47"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/6xxx/CVE-2023-6840.json","tags":["advisory"]},{"url":"git://git@gitlab.com:gitlab-org/gitlab.git","tags":["package"]},{"url":"https://ubuntu.com/security/CVE-2023-6840","tags":["report"]},{"url":"https://about.gitlab.com/releases/2024/02/07/security-release-gitlab-16-8-2-released/#project-maintainers-can-bypass-groups-scan-result-policy-block_branch_modification-setting","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-6840","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2023-6840","title":"Missing Authorization in GitLab","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-07T22:02:20.934Z","modified":"2026-04-24T04:07:19.586Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium","assessor":"cna"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:35:25.095989Z"}],"euvd":[{"id":"EUVD-2023-59045","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-07T22:02:20Z","modified":"2026-04-24T04:07:19Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T19:24:18.636842Z"}],"ghsa":[{"id":"GHSA-8jj6-7vgp-rg47","title":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7...","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-08T00:32:19Z","modified":"2024-10-03T09:31:41Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium"}],"cwes":["CWE-284","CWE-862"],"updated_at":"2026-11-02T14:58:24.112371Z"}],"nvd":[{"id":"CVE-2023-6840","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-07T22:15:09.5Z","modified":"2026-06-17T06:51:31.17Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium","assessor":"secondary"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium","assessor":"primary"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T14:09:04.527564Z"}],"osv":[{"id":"CVE-2023-6840","title":"Missing Authorization in GitLab","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-07T22:02:20.934Z","modified":"2026-10-28T02:31:01.131228383Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium"}],"cwes":["CWE-862"],"updated_at":"2026-11-02T15:44:36.851042Z"},{"id":"UBUNTU-CVE-2023-6840","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-02-07T22:15:00Z","modified":"2025-10-24T05:01:40Z","cvss":[{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium"},{"version":"3.1","score":6.7,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:L/I:H/A:H","level":"medium"}],"updated_at":"2026-11-02T16:54:41.555387Z"},{"id":"BIT-gitlab-2023-6840","title":"Missing Authorization in GitLab","description":"An issue has been discovered in GitLab EE affecting all versions from 16.4 prior to 16.6.7, 16.7 prior to 16.7.5, and 16.8 prior to 16.8.2 which allows a maintainer to change the name of a protected branch that bypasses the security policy added to block MR.","status":"published","published":"2024-03-06T10:54:04.182Z","modified":"2026-09-08T08:47:43.319265552Z","updated_at":"2026-11-02T15:28:30.405543Z"}]}}
