Low
Incorrect Authorization in GitLab
Type: advisorySources: OSV
An issue has been discovered in GitLab CE/EE for Self-Managed and Dedicated instances affecting all versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2. It was possible for a user added as an External to read and clone internal projects under certain circumstances."
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2025-1540
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 21:06 UTC · Revision 1
Source evidence
An issue has been discovered in GitLab CE/EE for Self-Managed and Dedicated instances affecting all versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2. It was possible for a user added as an External to read and clone internal projects under certain circumstances."
osv:CVE-2025-1540
Complete source record
{
"id": "29a43b454b6031023a762e578279fbf0521e447ddad90bf1586bea5decdb57c7",
"url": "https://osv.dev/vulnerability/CVE-2025-1540",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Incorrect Authorization in GitLab",
"summary": "An issue has been discovered in GitLab CE/EE for Self-Managed and Dedicated instances affecting all versions from 17.5 prior to 17.6.5, 17.7 prior to 17.7.4, and 17.8 prior to 17.8.2. It was possible for a user added as an External to read and clone internal projects under certain circumstances.\"",
"evidence": "osv:CVE-2025-1540",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2025-1540",
"aliases": [
"BIT-gitlab-2025-1540",
"CVE-2025-1540"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://gitlab.com/gitlab-org/gitlab",
"type": "GIT",
"events": [
{
"introduced": "173959793c1163052d16c2158773ea9504aa712e"
},
{
"fixed": "53bac28a6c50e5c1efa8b8d2520b24f32993682f"
},
{
"introduced": "1fd574ee5710155adf5307fba45132264dcb64a1"
},
{
"fixed": "fd7fac14bde2a6aede8d3d68558c4761364e13df"
},
{
"introduced": "f03594b9e09b648c839e9c008286a24c93c82373"
},
{
"fixed": "290b47ded8be87247276edd4d9117662c70366c3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.6.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.5.0"
},
{
"fixed": "17.6.5"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "17.7.0"
},
{
"fixed": "17.7.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.7.0"
},
{
"fixed": "17.7.4"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*",
"range": [
{
"introduced": "17.8.0"
},
{
"fixed": "17.8.2"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*",
"range": [
{
"introduced": "17.8.0"
},
{
"fixed": "17.8.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"v17.8.0-ee",
"v17.7.0-ee",
"v17.7.2-ee"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-1540.json"
}
}
],
"modified": "2026-10-28T02:30:39.501779032Z",
"provider": "osv",
"references": [
"https://about.gitlab.com/releases/2025/02/12/patch-release-gitlab-17-8-2-released/#saml-authentication-misconfigures-external-user-attribute",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1540.json",
"https://nvd.nist.gov/vuln/detail/CVE-2025-1540",
"https://gitlab.com/gitlab-org/gitlab/-/issues/512765"
],
"provider_metadata": {
"cwe_ids": [
"CWE-863"
],
"cna_assigner": "GitLab",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/1xxx/CVE-2025-1540.json"
}
},
"related_cves": [
{
"value": "CVE-2025-1540",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507033,
"published_at": "2025-03-06T08:31:07.791+00:00"
}