CVE-2025-64148: Jenkins Publish to Bitbucket Plugin Lacks Permissions Check

Summary

29/10/2025
No i
Moderate
4.3

CVE-2025-64148: 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 Penetration testing for web, API and mobile 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 integration tool that allows Jenkins users to publish their build artifacts directly to Bitbucket repositories. This plugin is widely used in CI/CD pipelines to streamline the deployment process. However, versions 0.4 and earlier of this plugin are vulnerable due to a lack of proper permissions checks, which can expose sensitive information.

Vulnerability Detail

The vulnerability arises from the absence of a permissions check in a method responsible for form validation within the Jenkins Publish to Bitbucket Plugin. This flaw allows attackers with Overall/Read permission to enumerate the IDs of credentials stored in Jenkins. If exploited, this could lead to credential theft through other vulnerabilities, posing a significant security risk to 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, consider restricting Overall/Read permissions for users who do not need access to sensitive credentials. Additionally, review and limit the credentials stored in Jenkins to minimize exposure.

Conclusion

The Jenkins Publish to Bitbucket Plugin is vulnerable due to a lack of permissions checks, allowing unauthorized users to enumerate sensitive credential IDs. While no fix is currently available, users should take precautions to limit access and monitor for updates. Utilizing tools like Vulert can help in identifying vulnerabilities in your applications.

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

Share this vulnerability

FAQ

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

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

Yes, attackers with Overall/Read permission can exploit this vulnerability to enumerate credential IDs.

As of the publication of this advisory, there is no fix available for this vulnerability.

You can use Vulert, which monitors and alerts for open-source vulnerabilities in your software. Visit the Vulert playground at Vulert Scanner to check if your application is affected without needing to sign up.

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