CVE-2025-64150: Jenkins Publish to Bitbucket Plugin Lacks Permissions Check Leading to Credential Exposure

Summary

29/10/2025
No i
Moderate
5.4

CVE-2025-64150: Jenkins Publish to Bitbucket Plugin is missing a permissions check. Affects org.jenkins-ci.plugins:publish-to-bitbucket versions < 0.4. No fix is published. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Your last release was probably never penetration tested Manual testing by engineers who build software, not an auditor's checklist. Trusted by teams at Swift and Google Talk to Devnack

Background

The Jenkins Publish to Bitbucket Plugin is an extension for Jenkins that facilitates the integration of Jenkins with Bitbucket, allowing users to publish their builds and manage repositories directly from Jenkins. This plugin is widely used in CI/CD pipelines to automate the deployment process. However, versions 0.4 and earlier of this plugin are vulnerable due to a lack of proper permission checks, which can lead to unauthorized access to sensitive credentials.

Vulnerability Detail

The vulnerability arises from the absence of a permissions check in an HTTP endpoint of the Jenkins Publish to Bitbucket Plugin. Attackers with Overall/Read permission can exploit this flaw to connect to an attacker-specified HTTP URL using credentials IDs that they have obtained through other means. This can result in the unauthorized capture of credentials stored in Jenkins. Furthermore, the endpoint does not enforce POST requests, making it susceptible to cross-site request forgery (CSRF) attacks, which can further compromise the security of the Jenkins environment.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

To mitigate the risk until a fix is available, users should restrict access to the Jenkins instance and ensure that only trusted users have Overall/Read permissions. Additionally, consider disabling the affected plugin if it is not essential for your operations.

Conclusion

The Jenkins Publish to Bitbucket Plugin is currently vulnerable due to a lack of permission checks, which can lead to unauthorized access to sensitive credentials. Users should monitor for updates and apply necessary workarounds to mitigate risks until a fix is released.

See every vulnerability recorded for org.jenkins-ci.plugins:publish-to-bitbucket →

Share this vulnerability

FAQ

The CVSS score of this vulnerability is 5.4, indicating a moderate severity level.

The vulnerability affects Jenkins Publish to Bitbucket Plugin versions 0.4 and earlier.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. By uploading your pom.xml file, you can check for vulnerabilities without needing to install any software.

If you cannot update the plugin, restrict access to your Jenkins instance and limit Overall/Read permissions to trusted users as a temporary measure.

To prevent CSRF attacks, ensure that CSRF protection is enabled in Jenkins and educate users about the risks of clicking on untrusted links.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:publish-to-bitbucket.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback