CVE-2026-145818
MediumCVSS 4.3Summary
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.
Risk Assessment
The ability for unauthorized users to modify webhooks can lead to compromised CI integrations and SSRF attacks against internal network resources.
Recommendation
Update GitBucket to a version later than 4.48.0, which fixes the authorization vulnerability in the webhook controller.
Other vulnerabilities in GitBucket
See all- 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-129863Medium
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.
- 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 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.
Vulnerability data from NVD (NIST) · CISA KEV · EPSS

