CVE-2018-25332

GitBucket 4.23.1 Unauthenticated Remote Code Execution

Published May 17, 2026 CVSS 4.0 · 9.3 Critical EPSS < 1% KEV · Not listed
Description
GitBucket 4.23.1 contains an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary commands by exploiting weak secret token generation and insecure file upload functionality. Attackers can brute-force the Blowfish encryption key, upload a malicious JAR plugin via the git-lfs endpoint, and execute system commands through an exposed exploit endpoint.

Analysis

AI-generated

Technical impact

GitBucket version 4.23.1 is vulnerable to unauthenticated remote code execution. The weakness stems from weak generation of secret tokens and an insecure file upload mechanism that allows an attacker to brute‑force the Blowfish encryption key used to protect uploads. By uploading a malicious JAR plugin through the git-lfs endpoint and leveraging an exposed exploit endpoint, an attacker can execute arbitrary system commands, compromising confidentiality, integrity, and availability of the affected host.

Affected Systems

The issue affects GitBucket 4.23.1 as released by the vendor gitbucket. No other major versions are listed as affected in the supplied data.

Risk and Exploitability

A CVSS score of 9.3 marks this vulnerability as critical, and it is not listed in the CISA KEV catalog. The exploit requires no authentication and can be performed remotely via standard HTTP(S) calls to the GitBucket web interface, making it broadly exploitable for anyone with network access to the instance. No EPSS score is available, but the lack of authentication combined with the high severity suggests a high likelihood of exploitation.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade GitBucket to a patched release that removes the weak token generation and secures file uploads
  • If upgrading immediately is impossible, block external access to the git-lfs endpoint and disable plugin uploads to prevent malicious JAR injection
  • Ensure that any configuration files use robust secret generation methods and verify that the Blowfish keys are not recoverable by brute‑force

Generated by OpenCVE AI on May 17, 2026 at 13:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitbucket:gitbucket:*:*:*:*:*:*:*:*
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Gitbucket
Gitbucket gitbucket
Vendors & Products Gitbucket
Gitbucket gitbucket
Type Values Removed Values Added
Description GitBucket 4.23.1 contains an unauthenticated remote code execution vulnerability that allows attackers to execute arbitrary commands by exploiting weak secret token generation and insecure file upload functionality. Attackers can brute-force the Blowfish encryption key, upload a malicious JAR plugin via the git-lfs endpoint, and execute system commands through an exposed exploit endpoint.
Title GitBucket 4.23.1 Unauthenticated Remote Code Execution
First Time appeared Jenkins
Jenkins gitbucket
Weaknesses CWE-306
CPEs cpe:2.3:a:jenkins:gitbucket:4.23.1:*:*:*:*:*:*:*
Vendors & Products Jenkins
Jenkins gitbucket
References
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
May 18, 2026, 5:56 PM
Reserved
May 17, 2026, 11:48 AM
Status
Analyzed
Published
May 17, 2026, 1:16 PM
Modified
Jun 17, 2026, 1:55 AM