CVE-2026-129863: GitBucket through 4.48.0 Incorrect Authorization via Pull Request API Endpoints
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.
Affected Software
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated user with read access can exploit it against pull requests in public repositories. Guest collaborators on private repositories are also affected, even if they do not have write permission.
What actions can an attacker perform through the affected API endpoints?
An attacker can close, reopen, retitle, retarget, or merge another user's pull request. A merge can place changes into the pull request's base branch without the attacker having write permission.
What access does an attacker need?
The attacker must be authenticated and have read access to the repository. No user interaction is required, and the issue is exposed through the PATCH pulls and PUT pulls merge REST API endpoints.
Which versions are affected?
GitBucket through version 4.48.0 is affected.