CVE-2026-129863
MEDIUM
NVD
CVSS Score
6.5
Severity
MEDIUM
Published
Nov 16, 2026
Vendor
unknown
Description
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.
References
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/ApiPullRequestControllerBase.scala#L155-L173
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/ApiPullRequestControllerBase.scala#L229-L270
- https://github.com/gitbucket/gitbucket/commit/876c8524967356dfea4a0508c4e1444ad8c80832
- https://github.com/gitbucket/gitbucket/issues/4179
- https://github.com/gitbucket/gitbucket/pull/4181