Bitbucket OAuth access token exposed in the build log by Bitbucket Branch Source PluginGHSA-x8mf-jcmf-r79f
MEDIUMFix: jenkinsci/bitbucket-branch-source-plugin@ad359b3GHSA-x8mf-jcmf-r79f is a medium-severity (CVSS 4.3) CWE-532 vulnerability in org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source. A fix is available for org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source — see the affected versions and patch details below.
Exploitation Status
No confirmed exploitation observed yet
- CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.
Exploitation and automatability from CISA’s SSVC triage for GHSA-x8mf-jcmf-r79f.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Maven packages — download data is not available via public APIs for these ecosystems.
Description
Bitbucket Branch Source Plugin 886.v44cf5e4ecec5 and earlier prints the Bitbucket OAuth access token as part of the Bitbucket URL in the build log in some cases.
Bitbucket Branch Source Plugin 887.va_d359b_3d2d8d does not include the Bitbucket OAuth access token as part of the Bitbucket URL in the build log.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| ☕Maven | org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source | all versions | 887.vaorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-source:887.va |
Affected Products
bitbucket branch sourcejenkinsDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to 887.va or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x8mf-jcmf-r79f is resolved across your whole dependency graph.
Workarounds
If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.
Frequently Asked Questions
Is GHSA-x8mf-jcmf-r79f in your dependencies?
Find it across Maven, including transitive dependencies.