CVE-2026-13540
5.3medium
GitBucket RepositoryCreationService.scala Git.cloneRepository.setURI server-side request forgery
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.23% (higher than 14% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| GitBucket | 4.46.0, 4.46.1 | CVE List |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
References
| https://vuldb.com/vuln/374548 | technical-description, vdb-entry | |
| https://vuldb.com/vuln/374548/cti | permissions-required, signature | |
| https://vuldb.com/cve/CVE-2026-13540 | third-party-advisory | |
| https://vuldb.com/submit/836108 | third-party-advisory | |
| https://github.com/gitbucket/gitbucket/issues/4044 | exploit, issue-tracking | |
| https://github.com/gitbucket/gitbucket/pull/4056 | issue-tracking, patch | |
| https://github.com/gitbucket/gitbucket/commit/487a9b980f56aa73b6a044b1e86a92eed5043215 | patch | |
| https://github.com/gitbucket/gitbucket/ | product | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-13540 changed 2026-06-29 | CVE Terms of Use |
| NVD | CVE-2026-13540 changed 2026-06-29 | Public domain |