CVE-2026-13540 Details
Description
A security flaw has been discovered in GitBucket up to 4.46.1. This affects the function Git.cloneRepository.setURI of the file src/main/scala/gitbucket/core/service/RepositoryCreationService.scala. Performing a manipulation of the argument url results in server-side request forgery. The attack is possible to be carried out remotely. The exploit has been released to the public and may be used for attacks. The patch is named 487a9b980f56aa73b6a044b1e86a92eed5043215. To fix this issue, it is recommended to deploy a patch.
A server-side request forgery (SSRF) vulnerability has been identified in GitBucket versions through 4.46.1. The issue arises in the repository creation process, where user-supplied URLs for cloning existing Git repositories are not properly validated. This flaw allows authenticated users with repository creation permissions to manipulate the URL argument, causing the GitBucket server to make outbound HTTP or HTTPS requests to arbitrary hosts and ports. The vulnerability can be exploited remotely and has been publicly disclosed, with an available exploit.
Users can update to GitBucket version 4.47.0 or later, where this vulnerability has been addressed. Instructions for upgrading are available in the GitBucket documentation.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 29, 2026CISA-ADP
Assessed Jun 29, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/gitbucket/gitbucket/ | [email protected] | Vendor |
| https://github.com/gitbucket/gitbucket/commit/487a9b980f56aa73b6a044b1e86a92eed5043215 | [email protected] | Source CodeVendor |
| https://github.com/gitbucket/gitbucket/issues/4044 | [email protected] | ExploitIssue TrackingTechnical DescriptionVendor |
| https://github.com/gitbucket/gitbucket/pull/4056 | [email protected] | Issue TrackingVendor |
| https://vuldb.com/cve/CVE-2026-13540 | [email protected] | AdvisoryPermission Required |
| https://vuldb.com/submit/836108 | [email protected] | Issue TrackingPermission Required |
| https://vuldb.com/vuln/374548 | [email protected] | Technical DescriptionPermission Required |
| https://vuldb.com/vuln/374548/cti | [email protected] | Content Wall |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-918 | Server-Side Request Forgery (SSRF) | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| GitBucket | <= 4.46.1 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 29, 2026 | CVE Modified | CISA-ADP |
| Jun 29, 2026 | New CVE Received | [email protected] |
Volerion