Original 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.
Affected software
- gitbucket ≤ 4.48.0 repository or package match
Details
- Published
- 2026-11-16
- Last modified
- 2026-11-17
- CVSS vector
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N- CWE
- CWE-863
References
- cve.org/CVE-2026-129863
- nvd.nist.gov/vuln/detail/CVE-2026-129863
- github.com/gitbucket/gitbucket/issues/4179
- github.com/gitbucket/gitbucket/pull/4181
- github.com/gitbucket/gitbucket/commit/876c8524967356dfea4a0508c4e1444ad8c80832
- github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/Ap...
- github.com/gitbucket/gitbucket/blob/4.48.0/src/main/scala/gitbucket/core/controller/api/Ap...
- hackmd.io/@hieund/gitbucket-pr-api-missing-write-authz
- www.vulncheck.com/advisories/gitbucket-through-4.48.0-incorrect-authorization-via-pull-req...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.