Medium
Incorrect Authorization in GitLab
Type: advisorySources: OSV
An issue has been discovered in GitLab CE/EE affecting all versions from 16.9 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. By using a specific GraphQL query, under specific conditions an unauthorized user can retrieve branch names.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-8116
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 01:10 UTC · Revision 1
Source evidence
An issue has been discovered in GitLab CE/EE affecting all versions from 16.9 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. By using a specific GraphQL query, under specific conditions an unauthorized user can retrieve branch names.
osv:CVE-2024-8116
Complete source record
{
"id": "df4062e1695819872ce832af245c5d3f5aab76e03681858541aef4a22ff4e96f",
"url": "https://osv.dev/vulnerability/CVE-2024-8116",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Incorrect Authorization in GitLab",
"summary": "An issue has been discovered in GitLab CE/EE affecting all versions from 16.9 before 17.4.6, 17.5 before 17.5.4, and 17.6 before 17.6.2. By using a specific GraphQL query, under specific conditions an unauthorized user can retrieve branch names.",
"evidence": "osv:CVE-2024-8116",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2024-8116",
"aliases": [
"BIT-gitlab-2024-8116",
"CVE-2024-8116"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "76326ae8b898b38c8217ad037ed7122be00e62f0"
},
{
"fixed": "25a55583bbcf724ad625848d48a529467e7c7097"
},
{
"introduced": "173959793c1163052d16c2158773ea9504aa712e"
},
{
"fixed": "0397324ed14bb7f0ede422841d713fd22349302f"
},
{
"introduced": "a8830741d3c4ad7f6a70eed38ee7af31f298d093"
},
{
"fixed": "6ff444aad3a327c384b0859be326d042dde090ee"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "16.9.0"
},
{
"fixed": "17.4.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "16.9.0"
},
{
"fixed": "17.4.6"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.5.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.5.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "17.6.0"
},
{
"fixed": "17.6.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.6.0"
},
{
"fixed": "17.6.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v17.6.0-ee",
"v17.6.2-rc31-ee",
"v17.6.2-rc30-ee",
"v17.5.0-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-8116.json"
}
}
],
"modified": "2026-10-28T02:30:41.119296807Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8116.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-8116",
"https://gitlab.com/gitlab-org/gitlab/-/issues/480509",
"https://hackerone.com/reports/2666216"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "GitLab",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/8xxx/CVE-2024-8116.json"
}
},
"related_cves": [
{
"value": "CVE-2024-8116",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 508883,
"published_at": "2024-12-16T04:31:08.73+00:00"
}