{"id":"CVE-2026-13540","published":"2026-06-29T05:45:07Z","modified":"2026-06-29T13:36:26Z","title":"GitBucket RepositoryCreationService.scala Git.cloneRepository.setURI server-side request forgery","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":6.3,"severity":"MEDIUM","version":"3.1","vector":"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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00374,"percentile":0.32221,"provenance":"source"},"cwes":[{"id":"CWE-918","name":"Server-Side Request Forgery"}],"references":[{"url":"https://vuldb.com/vuln/374548","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/374548/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-13540","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/836108","tags":["third-party-advisory"]},{"url":"https://github.com/gitbucket/gitbucket/issues/4044","tags":["exploit","issue-tracking"]},{"url":"https://github.com/gitbucket/gitbucket/pull/4056","tags":["issue-tracking","patch"]},{"url":"https://github.com/gitbucket/gitbucket/commit/487a9b980f56aa73b6a044b1e86a92eed5043215","tags":["patch"]},{"url":"https://github.com/gitbucket/gitbucket/","tags":["product"]}],"priority":{"score":15.9,"factors":[{"name":"EPSS percentile","points":6.44},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":4.41}]},"affectedVersions":[{"vendor":"n/a","product":"GitBucket","versions":["4.46.0","4.46.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-06-29T13:36:04.735083Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-40038","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/gitbucket/gitbucket/issues/4044"]}