GitBucket through 4.48.0 Incorrect Authorization via Pull Request API Endpoints
- State
- Published
- Severity
- 7.1 High
- Published
- Nov 16, 2026
- Updated
- Nov 28, 2026
- Reserved
- Nov 16, 2026
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.
| Product | Versions |
|---|---|
| GitBucket GitBucket | 4.48.0 and earlier Affected |
| CVSS | Score | How It's Reached | Source |
|---|---|---|---|
| 4.0 | 7.1 High | VulnCheck | |
| 3.1 | 6.5 Medium | VulnCheck |
Weaknesses
- CWE-863 Incorrect Authorization
References
- https://github.com/gitbucket/gitbucket/issues/4179Issue Tracker
- https://github.com/gitbucket/gitbucket/pull/4181Issue TrackerPatch
- https://github.com/gitbucket/gitbucket/commit/876c8524967356dfea4a0508c4e1444ad8c80832Patch
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/ApiPullRequestControllerBase.scala#L155-L173Technical Details
- https://github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/ApiPullRequestControllerBase.scala#L229-L270Technical Details
- https://hackmd.io/@hieund/gitbucket-pr-api-missing-write-authzThird-Party Advisory
- VulnCheck Advisory: GitBucket through 4.48.0 Incorrect Authorization via Pull Request API EndpointsThird-Party Advisory
Every record here comes from the CVE Program's CVE List. © 1999-2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.