CVE-2026-129863
MediumCVSS 6.5Exploitation Probability (EPSS)
Low risk34th percentile - higher than 34% of all known CVEs
Summary
GitBucket through 4.48.0 contains an incorrect authorization vulnerability in the PATCH pulls and PUT pulls merge REST API endpoints, which only check read access. Authenticated users can edit, close, reopen, retitle, retarget, or merge other users' pull requests without write permission.
Risk Assessment
An attacker can modify or merge changes in public repositories and private repositories (as a guest collaborator), leading to unauthorized code changes and potential injection of malicious code.
Recommendation
Update GitBucket to a version later than 4.48.0 that properly enforces write permissions in the pull request REST API endpoints.
Other vulnerabilities in GitBucket
See all- CVE-2026-145818Medium
GitBucket through 4.48.0 contains an incorrect authorization vulnerability in ApiRepositoryWebhookControllerBase that allows non-owner write collaborators to create, modify, and delete webhooks because routes use writableUsersOnly instead of ownerOnly. Attackers can change webhook target URLs, events, and secrets via the hooks API to redirect event deliveries, break CI integrations, or trigger server-side requests to internal addresses.
- CVE-2018-25332Critical
GitBucket version 4.23.1 contains an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary commands. This is exploited through weak secret token generation and insecure file upload functionality.
- CVE-2026-144685Medium
GitBucket through 4.48.0 contains a stored cross-site scripting vulnerability that allows authenticated users to execute JavaScript by uploading XHTML or XML attachments served inline. Attackers can attach an XHTML file to an issue or comment, served via the _attached route as application/xhtml+xml, to run script in a victim's session and perform API actions as that user, including administrators.
- CVE-2026-13540Medium
A server-side request forgery (SSRF) vulnerability has been discovered in GitBucket up to version 4.46.1 in the Git.cloneRepository.setURI function. Manipulating the url argument in RepositoryCreationService.scala allows remote exploitation. The exploit is public, and applying a patch is recommended.
Original NVD description (English source)
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 data from NVD (NIST) · CISA KEV · EPSS

