Authenticated SSRF via unchecked repository clone URL
Published Jun 29, 2026 · Updated Jun 29, 2026
SSRF in GitBucket 4.46.0 and 4.46.1 allows remote authenticated users to make server-originated requests via repository cloning. RepositoryCreationService passes sourceUrl from POST /new directly to JGit Git.cloneRepository().setURI without scheme, host, or private-address validation. Any account with repository-creation permission, granted to all users by default, can probe internal HTTP or HTTPS services and cloud metadata endpoints.
Summary
What happened
SSRF in GitBucket 4.46.0 and 4.46.1 allows remote authenticated users to make server-originated requests via repository cloning. RepositoryCreationService passes sourceUrl from POST /new directly to JGit Git.cloneRepository().setURI without scheme, host, or private-address validation. Any account with repository-creation permission, granted to all users by default, can probe internal HTTP or HTTPS services and cloud metadata endpoints.
The record
- CVE
- CVE-2026-13540
- Published
- Jun 29, 2026
- Updated
- Jun 29, 2026
- Vendor
- GitBucket
- Product
- GitBucket
- Classifications
- CWE-918, T1046
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Jun 29, 2026CVE publishedPublication date reported by the CVE source.
- Jun 29, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=4.46.0
- Affected versionversion=4.46.1
What conditions does exploitation require?
What is affected?
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GitBucket repository-clone SSRF proof of conceptfunctional · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo