Skip to main content

GitBucket EUVDEUVD-2026-40038

| CVE-2026-13540 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-06-29 VulDB GHSA-29f2-r2fr-hjv6
2.1
CVSS 4.0 · Vendor: VulDB

Severity by source

Vendor (VulDB) PRIMARY
2.1 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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
vuln.today AI
5.4 MEDIUM

Network-reachable via authenticated account (PR:L); SSRF enables internal service probing (C:L) and potential side-effecting requests to internal APIs (I:L); no direct availability impact.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulDB).

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
X

Lifecycle Timeline

4
Severity Changed
Jun 29, 2026 - 07:37 NVD
MEDIUM LOW
CVSS changed
Jun 29, 2026 - 07:37 NVD
5.3 (MEDIUM) 2.1 (LOW)
Source Code Evidence Fetched
Jun 29, 2026 - 07:17 vuln.today
Analysis Generated
Jun 29, 2026 - 07:17 vuln.today

DescriptionCVE.org

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.

AnalysisAI

Server-side request forgery in GitBucket up to version 4.46.1 allows authenticated users to coerce the application server into issuing HTTP requests to arbitrary internal or private network hosts by supplying a crafted URL to the repository creation "clone from existing repository" feature. The flaw resides in Git.cloneRepository.setURI() within RepositoryCreationService.scala, where user-supplied URL input reaches JGit without validation against private address ranges. A public exploit exists (GitHub issue #4044), though no CISA KEV listing is present - no confirmed active exploitation at time of analysis. An upstream patch is available as commit 487a9b980f56aa73b6a044b1e86a92eed5043215 via PR #4056.

Technical ContextAI

GitBucket is a self-hosted Git platform written in Scala, running on the JVM. The affected code path is the 'COPY' initialization option during repository creation, which invokes JGit's Git.cloneRepository.setURI() with a user-controlled url argument from RepositoryCreationService.scala. CWE-918 (Server-Side Request Forgery) describes the root cause exactly: the application acts as a network proxy on behalf of attacker-controlled input with no denylist or allowlist enforcement for private RFC-1918 address space. The CPE string (cpe:2.3:a:n/a:gitbucket:*:*:*:*:*:*:*:*) confirms all GitBucket versions up to and including 4.46.1 are affected. The fix, visible in PR #4056, extends the pre-existing webHook.blockPrivateAddress + IP-range whitelist controls - previously scoped only to outbound webhook requests - to also apply to repository-clone source URLs. The settings UI was simultaneously relabeled from 'Web hook' to 'Outbound requests' to reflect the broader scope of the control.

RemediationAI

Apply the upstream patch commit 487a9b980f56aa73b6a044b1e86a92eed5043215 from PR #4056 (https://github.com/gitbucket/gitbucket/pull/4056); a specific released version incorporating this fix is not independently confirmed - verify against the official GitBucket release page. As a compensating control prior to patching, administrators should enable the 'Block private address' outbound request setting in GitBucket's admin panel under System Settings > Outbound requests, and configure an IP whitelist limited to legitimate external clone sources - this setting now covers both webhooks and repository cloning after the patch, but may already exist in pre-patch versions for webhooks only. Disabling the 'Create repository by cloning' feature entirely via access control policy eliminates the attack surface with no impact on standard git operations. Network-level egress filtering on the GitBucket host to block RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local addresses (169.254.0.0/16) provides defense-in-depth but does not remove the vulnerability.

More in N A

View all
CVE-2024-51092 CRITICAL POC
9.1 May 08

LibreNMS before 24.10.0 allows a remote attacker to execute arbitrary code via OS command injection involving AboutContr

CVE-2025-15684 MEDIUM POC
5.5 Aug 12

Reachable assertion in Open5GS up to version 2.7.6 allows remote unauthenticated attackers to crash the Diameter CER han

CVE-2024-45257 HIGH POC
7.3 May 08

A Command Injection issue in the payload build page in BYOB (Build Your Own Botnet) 2.0 allows attackers to execute arbi

CVE-2025-15687 LOW POC
2.1 Aug 12

Denial of service in Open5GS 2.7.6 and earlier allows network-adjacent attackers with low-privilege Diameter Gx peer acc

CVE-2025-15686 LOW POC
2.1 Aug 12

Denial of service in Open5GS HSS (Home Subscriber Server) versions 2.7.0 through 2.7.6 is triggered remotely by manipula

CVE-2025-67888 HIGH POC
7.3 May 08

Remote command injection in Control Web Panel allows unauthenticated attackers to execute arbitrary OS commands as root

CVE-2024-53326 HIGH POC
7.3 May 08

LINQPad before 5.52.01 Pro edition is vulnerable to Unsafe Deserialization in LINQPad.AutoRefManager::PopulateFromCache(

CVE-2026-38360 CRITICAL POC
9.8 May 08

Remote code execution in dash-uploader (Python package for Plotly Dash) versions 0.1.0 through 0.7.0a2 allows unauthenti

CVE-2026-30623 CRITICAL POC
9.8 Jul 15

Command injection in LiteLLM 1.18.10 lets attackers who can configure MCP (Model Context Protocol) servers supply arbitr

CVE-2026-67917 CRITICAL POC
9.8 Aug 17

SQL injection in AzuraCast's backup restore flow (versions up to and including 0.23.7) lets an attacker achieve privileg

CVE-2026-75337 CRITICAL POC
9.8 Aug 27

Arbitrary file read in Yu AI Code Mother v4.3 lets anonymous, remote attackers retrieve files outside the intended previ

CVE-2026-31072 CRITICAL POC
9.8 May 19

Remote code execution in APScheduler (all versions through 3.10.x and 4.0.0a5) is achievable when applications deseriali

Share

EUVD-2026-40038 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy