NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
☕
☕ Maven
Not in CISA KEV
MEDIUM severity

CVE-2022-20618 — cloudbees-bitbucket-branc…

MEDIUMFix: jenkinsci/bitbucket-branch-source-plugin@467ed6c

CVE-2022-20618 is a medium-severity (CVSS 4.3) CWE-862 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.

Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin

Also known asGHSA-w2mh-6xj5-f77f
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Nov 11, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk+0.03%
Lower risk than most CVEs60th percentile — riskier than 60% of all scored CVEsHighest risk
0.00%0.46%0.92%1.38%0.1%0.9%May 26Sep 26Nov 26

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

4 pkgs affected
☕org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source☕org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source☕org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source☕org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source

Real-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

Jenkins Bitbucket Branch Source Plugin prior to 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 does not perform permission checks in several HTTP endpoints.

This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability.

An enumeration of credentials IDs in Bitbucket Branch Source Plugin 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 requires the appropriate permissions.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
☕Mavenorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-source≥ 726.v7e6f53de133c&&< 746.v350d2781c184746.v350d2781c184org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source:746.v350d2781c184
☕Mavenorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-source≥ 720.vbe985dd73d66&&< 725.vd9f8be0fa250725.vd9f8be0fa250org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source:725.vd9f8be0fa250
☕Mavenorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-source≥ 2.9.8&&< 2.9.11.22.9.11.2org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source:2.9.11.2
☕Mavenorg.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceall versions2.9.7.2org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source:2.9.7.2

Affected Products

1 product · 2 configurations
Application
bitbucket branch sourcejenkins
≤ 2.9.10
1 version
737.vdf9dc06105be

Detection & mitigation playbook

Open-source dependency
  1. Detect

    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.

  2. Fix

    Update org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source to 746.v350d2781c184 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2022-20618 is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

Frequently Asked Questions

Jenkins Bitbucket Branch Source Plugin prior to 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 does not perform permission checks in several HTTP endpoints. This allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins. Those can be used as part of an attack to capture the credentials using another vulnerability. An enumeration of credentials IDs in Bitbucket Branch Source Plugin 746.v350d2781c184, 725.vd9f8be0fa250, 2.9.11.2, and 2.9.7.2 requires the appropriate permissions.
O3 Security · Impact-Aware SCA

Is CVE-2022-20618 in your dependencies?

Find it across Maven, including transitive dependencies.

CVE-2022-20618: cloudbees-bitbucket — Fix Available