Auth bypass in Gitbucket
CVE-2026-129863
GitBucket through 4.48.0 contains an incorrect authorization vulnerability that allows authenticated users to edit and merge other users' pull requests because the PATCH pulls and PUT pulls merge REST API endpoints only check read access. Attackers can close, reopen, retitle, retarget, or merge pull requests into the base branch without write permission on public repositories or as private-repository guest collaborators.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
FIRST.org has not scored this CVE yet. About EPSS.
Affected products
Weakness classification (CWE)
References
- github.com/gitbucket/gitbucket/issues/4179 (issue-tracking)
- github.com/gitbucket/gitbucket/pull/4181 (issue-tracking, patch)
- github.com/gitbucket/gitbucket/commit/876c8524967356dfea4a0508c4e1444ad8c80832 (patch)
- github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/contro… (technical-description)
- github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/contro… (technical-description)
- hackmd.io/@hieund/gitbucket-pr-api-missing-write-authz (third-party-advisory)
- www.vulncheck.com/advisories/gitbucket-through-4.48.0-incorrect-authorization-v… (third-party-advisory)