# CVE-2024-39460: Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source Plugin

Source: https://junglewise.ai/threats/cve-2024-39460-bitbucket-oauth-access-token-exposed-in-the-build-log-by  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-06-26  
License: CC BY 4.0 with a link back

CVE-2024-39460 · Severity: low · CVSS 3.1 · Published 2024-06-26

Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source Plugin

Technologies: [org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven)](https://junglewise.ai/threats/technologies/org-jenkins-ci-plugins-cloudbees-bitbucket-branch-source). Vendors: [Maven](https://junglewise.ai/threats/vendors/maven).

## Quick answers

**Is CVE-2024-39460 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-39460 being exploited in the wild.

**How severe is CVE-2024-39460?** Low severity, with a CVSS score of 3.1, published 26 June 2024.

**Which products and versions are affected?** org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) ECOSYSTEM:introduced=0,fixed=887.va.

**Is there a fix for CVE-2024-39460?** Yes. org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven): upgrade to 887.va or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-39460?** Check whether you run org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven): upgrade to 887.va or later

  ```sh
  # set org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to 887.va in your pom.xml or build.gradle
  ```


## Affected products

- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven) ECOSYSTEM:introduced=0,fixed=887.va

## Identifiers

- CVE-2024-39460
- GHSA-x8mf-jcmf-r79f

## Related threats

- [Jenkins Bitbucket Branch Source Plugin has incorrect trust policy behavior for pull requests](https://junglewise.ai/threats/cve-2024-28152-jenkins-bitbucket-branch-source-plugin-has-incorrect-trust-policy)
- [Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin](https://junglewise.ai/threats/cve-2022-20618-incorrect-permission-assignment-for-critical-resource-in-jenkins)
- [Cross-Site Request Forgery in Jenkins Bitbucket Branch Source Plugin](https://junglewise.ai/threats/cve-2022-20619-cross-site-request-forgery-in-jenkins-bitbucket-branch-source)
