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

Published Jun 29, 2026
·
Updated

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 Software

1 affected component
GitBucket GitBucket<=4.46.1

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade GitBucket to a version that resolves this vulnerability.

    Patch 487a9b980f56aa73b6a044b1e86a92eed5043215

Event History

Jun 29, 2026
CVE Published
via MITRE·05:45 AM
Data Sourced
via MITRE·05:45 AM
DescriptionSeverityWeakness
Data Sourced
via NVD·07:16 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2026-13540?

CVE-2026-13540 has a medium severity score of 6.3.

2

What impact does CVE-2026-13540 have on GitBucket?

CVE-2026-13540 can lead to server-side request forgery (SSRF) through manipulation of the URL argument in the Git.cloneRepository.setURI function.

3

How do I fix CVE-2026-13540?

To fix CVE-2026-13540, update GitBucket to the latest version that addresses this vulnerability.

4

Which versions of GitBucket are affected by CVE-2026-13540?

CVE-2026-13540 affects GitBucket versions up to 4.46.1.

5

What should I do if I am using an affected version of GitBucket for CVE-2026-13540?

If using an affected version of GitBucket, it is recommended to upgrade to a patched version to mitigate the vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203