Publish To BitbucketApplication · Jenkins

CVE-2025-64150

MEDIUM · 5.4 CVSS v3.1 Published 2025-10-29
Fix available
A fix is available. Upgrade to after 0.4 or later.
See remediation →
60/100
Remediation priority · Elevated
Remotely reachable Zero-click

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
A missing permission check in Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

The Publish to Bitbucket Plugin for Jenkins lacks permission checks on a build action endpoint. Attackers with only Overall/Read permission (a very common baseline permission) can configure the plugin to connect to an attacker-controlled URL using credential IDs they obtain separately, causing Jenkins to transmit stored credentials to the attacker-controlled endpoint.

MitigationUpdate the Publish to Bitbucket Plugin to a version that implements proper permission checks. Until then, restrict Overall/Read permission severely and audit stored credentials.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

Affected products & versions What the vendor confirmedThe version ranges the vendor confirmed as vulnerable. If your version sits inside a range here, treat yourself as exposed until you have upgraded.

NVD · CPE data
Publish To BitbucketApplication
Affected:<= 0.4

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Check if Publish To Bitbucket plugin is installed
    Navigate to Manage Jenkins > Manage Plugins > Installed tab, or inspect the Jenkins plugin directory ($JENKINS_HOME/plugins/) for a folder named 'publish-to-bitbucket' or similar
    Affected if The plugin folder exists in the plugins directory or is listed in the Installed plugins list
  2. Identify the installed version of the plugin
    In Jenkins UI, go to Manage Jenkins > Manage Plugins > Installed and locate 'Publish To Bitbucket' to see the version number. Alternatively, check the version file inside the plugin folder: $JENKINS_HOME/plugins/publish-to-bitbucket/META-INF/MANIFEST.MF
    Affected if The version is 0.4 or lower, or no version is displayed (plugin may be very old)
  3. Verify if the plugin configuration allows external URL connections
    Look for job configurations or global configurations that contain the Publish To Bitbucket build step. Inspect any fields that accept repository URLs or API endpoints. Check for URLs pointing to domains outside your organization
    Affected if The plugin is configured with a repository URL or API endpoint that points to an unrecognized or external domain
  4. Audit credentials used by the plugin
    Review stored credentials in Manage Jenkins > Manage Credentials. Identify any credential IDs associated with Bitbucket repositories. Cross-reference these with known legitimate credentials
    Affected if There are stored credentials with IDs that are being used by the plugin for connections to external or suspicious URLs
  5. Check for unauthorized job configurations
    Review jobs that use the Publish To Bitbucket build step. Verify that only users with appropriate permissions (such as Job/Configure) have modified these jobs. Look for any jobs with the plugin step that you did not create or authorize
    Affected if Jobs containing the Publish To Bitbucket step exist but were not created by authorized personnel, or have been modified by users with only Overall/Read permission

You are affected if the Publish To Bitbucket plugin is installed at version 0.4 or lower, regardless of whether external URLs are currently configured, since the vulnerability allows any user with Overall/Read permission to configure the plugin to exfiltrate credentials.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Upgrade available Upgrade to a release after 0.4
Interim mitigation

Update the Publish to Bitbucket Plugin to a version that implements proper permission checks. Until then, restrict Overall/Read permission severely and audit stored credentials.

Recommended fix Moderate confidence

Latest version available in Jenkins Update Center (version > 0.4)

  1. Identify all Jenkins controllers using the 'Publish To Bitbucket' plugin
  2. Check current installed version of the plugin in Manage Jenkins > Manage Plugins
  3. Upgrade the Publish To Bitbucket plugin to the latest available version from the Jenkins Update Center
  4. After upgrading, verify the plugin functions correctly in your build pipelines
  5. Confirm the fix includes proper permission checks by reviewing plugin release notes if available
Caveat Review release notes for any configuration or behavior changes in newer plugin versions

Generated from the published advisory — verify against the referenced sources before acting.

Fix this in Publish To Bitbucket Scoped from the published advisory
  • Consultation3.0 h
  • Implementation2.0 h
  • Testing3.0 h
  • Review / QA2.0 h
10.0 hours of engineering $1,770
Get the upgrade done

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $2,832.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2025-64150 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2025-64150 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data