SSRF in Gitbucket
CVE-2026-13540
- CVSS v3
- 6.3 Medium
- Public exploits
- None known
- EPSS
- 0.004 · 32.2th percentile
- Published
- 2026-06-29
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)
Published · last modified .
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.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.004, 32.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Gitbucket — versions 4.46.0, 4.46.1
Weakness classification (CWE)
References
- VDB-374548 | GitBucket RepositoryCreationService.scala Git.cloneRepository.setURI server-side request forgery (technical-description, vdb-entry)
- VDB-374548 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)
- CVE-2026-13540 | CVE Analysis and Report (third-party-advisory)
- Submit #836108 | gitbucket 4.46.1 Server-Side Request Forgery (third-party-advisory)
- github.com/gitbucket/gitbucket/issues/4044 (issue-tracking, exploit)
- github.com/gitbucket/gitbucket/pull/4056 (issue-tracking, patch)
- github.com/gitbucket/gitbucket/commit/487a9b980f56aa73b6a044b1e86a92eed5043215 (patch)
- github.com/gitbucket/gitbucket/ (product)