{"id":"CVE-2025-5819","state":"PUBLISHED","title":"Incorrect Permission Assignment for Critical Resource in GitLab","description":"An issue has been discovered in GitLab CE/EE affecting all versions from 15.7 before 18.0.6, 18.1 before 18.1.4, and 18.2 before 18.2.2 that could have allowed authenticated users with developer access to obtain ID tokens for protected branches under certain circumstances.","publishedAt":"2025-08-13T17:26:45.482Z","updatedAt":"2025-08-29T16:23:04.943Z","severity":{"score":5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","source":"GitLab"},"assigner":"GitLab","products":["GitLab GitLab"],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.7","status":"affected","lessThan":"18.0.6","versionType":"semver"},{"version":"18.1","status":"affected","lessThan":"18.1.4","versionType":"semver"},{"version":"18.2","status":"affected","lessThan":"18.2.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":["https://gitlab.com/gitlab-org/gitlab/-/issues/548165","https://hackerone.com/reports/3137660"],"weaknesses":["CWE-732"],"ingestedAt":"2026-10-29T20:09:39.787Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/5xxx/CVE-2025-5819.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2025-5819","state":"PUBLISHED","datePublished":"2025-08-13T17:26:45.482Z","dateUpdated":"2025-08-29T16:23:04.943Z","assignerShortName":"GitLab","assignerOrgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateReserved":"2025-06-06T17:01:59.860Z"},"containers":{"cna":{"title":"Incorrect Permission Assignment for Critical Resource in GitLab","descriptions":[{"lang":"en","value":"An issue has been discovered in GitLab CE/EE affecting all versions from 15.7 before 18.0.6, 18.1 before 18.1.4, and 18.2 before 18.2.2 that could have allowed authenticated users with developer access to obtain ID tokens for protected branches under certain circumstances."}],"affected":[{"vendor":"GitLab","product":"GitLab","defaultStatus":"unaffected","versions":[{"version":"15.7","status":"affected","lessThan":"18.0.6","versionType":"semver"},{"version":"18.1","status":"affected","lessThan":"18.1.4","versionType":"semver"},{"version":"18.2","status":"affected","lessThan":"18.2.2","versionType":"semver"}],"cpes":["cpe:2.3:a:gitlab:gitlab:*:*:*:*:*:*:*:*"],"repo":"git://git@gitlab.com:gitlab-org/gitlab.git"}],"references":[{"url":"https://gitlab.com/gitlab-org/gitlab/-/issues/548165","name":"GitLab Issue #548165","tags":["issue-tracking","permissions-required"]},{"url":"https://hackerone.com/reports/3137660","name":"HackerOne Bug Bounty Report #3137660","tags":["technical-description","exploit","permissions-required"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"LOW","scope":"CHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-732","description":"CWE-732: Incorrect Permission Assignment for Critical Resource","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"GitLab","orgId":"ceab7361-8a18-47b1-92ba-4d7d25f6715a","dateUpdated":"2025-08-29T16:23:04.943Z"},"credits":[{"lang":"en","type":"finder","value":"Thanks [skybound](https://hackerone.com/skybound) for reporting this vulnerability through our HackerOne bug bounty program"}],"solutions":[{"lang":"en","value":"Upgrade to versions 18.0.6, 18.1.4, 18.2.2 or above."}]},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-08-13T20:04:14.647573Z","id":"CVE-2025-5819","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-08-13T20:04:24.246Z"}}]}}}