# CVE-2026-13540: GitBucket RepositoryCreationService.scala Git.cloneRepository.setURI server-side request forgery

- Severity: Medium 5.3 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.23%, higher than 14% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-29T05:45:07.911Z
- Modified: 2026-06-29T18:46:31.617Z
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- GitBucket: 4.46.0; 4.46.1

## Every score

- VulDB: CVSS:4.0 5.3 Medium `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: CVSS:3.1 6.3 Medium `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: CVSS:3.0 6.3 Medium `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: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C`

## References

- <https://github.com/gitbucket/gitbucket/issues/4044> (exploit, issue-tracking)
- <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/pull/4056> (issue-tracking, patch)
- <https://github.com/gitbucket/gitbucket/commit/487a9b980f56aa73b6a044b1e86a92eed5043215> (patch)
- <https://github.com/gitbucket/gitbucket/> (product)

## Sources

- CVE List: [CVE-2026-13540](https://www.cve.org/CVERecord?id=CVE-2026-13540), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2026-13540](https://nvd.nist.gov/vuln/detail/CVE-2026-13540), Public domain, modified 2026-06-29

---

Page: https://cve.day/CVE-2026-13540 · Whole record: https://cve.day/CVE-2026-13540.json · Rebuilt by cve.day 2026-11-25T22:59:26.590Z
