CVE-2018-25332 GitBucket 4.23.1 Unauthenticated Remote Code Execution

Critical 9.3 Published Updated

Attackers can execute arbitrary system commands by brute-forcing encryption keys and uploading malicious plugins, requiring immediate upgrades.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2018-25332?

CVE-2018-25332 is a critical code injection vulnerability in GitBucket, published on 17 May 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official 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.

Weakness: CWE-306

Which versions are affected by CVE-2018-25332?

It affects 1 product.

Products include Gitbucket Gitbucket.

How do I fix CVE-2018-25332?

No fix has been published for CVE-2018-25332 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2018-25332 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2018-25332 exists.

Sources

Also known as GHSA-5r94-357g-jqj4.

Is CVE-2018-25332 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free