SSRF in Gitbucket

CVE-2026-13540

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.

Vulnerability class: SSRF (Server-Side Request Forgery)

EPSS: 0.002 (13.5th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 6.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L.

Affected products

  • N/a Gitbucket — versions 4.46.0, 4.46.1

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2026-13540?
CVE-2026-13540 is a medium-severity vulnerability in Gitbucket, classified under Server-Side Request Forgery (SSRF). CVSS score: 6.3/10. Published 2026-06-29.
How severe is CVE-2026-13540?
Medium severity. CVSS v3 base score is 6.3 out of 10.