CVE-2022-20618
Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- Low
- Integrity
- None
- Availability
- None
Exploit likelihood
What each source reports
NVD Score used
4.3
A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.
- Record
CVE-2022-20618- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - CVSS 2.0
- 4.0 Medium
AV:N/AC:L/Au:S/C:P/I:N/A:N - Weakness
- CWE-862
- Updated
- 2026-11-02
CVE List No score
A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.
- Record
CVE-2022-20618- Updated
- 2026-11-02
EUVDEUVD-2022-0711 No score
A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.
- Record
EUVD-2022-0711- Updated
- 2026-11-03
GitHub AdvisoriesGHSA-w2mh-6xj5-f77f
4.3
Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
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.
- Record
GHSA-w2mh-6xj5-f77f- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-732, CWE-862
- Updated
- 2026-11-02
OSV
4.3
A missing permission check in Jenkins Bitbucket Branch Source Plugin 737.vdf9dc06105be and earlier allows attackers with Overall/Read access to enumerate credentials IDs of credentials stored in Jenkins.
- Record
CVE-2022-20618- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Updated
- 2026-11-02
OSVGHSA-w2mh-6xj5-f77f
4.3
Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin
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.
- Record
GHSA-w2mh-6xj5-f77f- CVSS 3.1
- 4.3 Medium
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N - Weakness
- CWE-732, CWE-862
- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
726.v7e6f53de133c up to 746.v350d2781c184 | 746.v350d2781c184 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
720.vbe985dd73d66 up to 725.vd9f8be0fa250 | 725.vd9f8be0fa250 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
2.9.8 up to 2.9.11.2 | 2.9.11.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
before 2.9.7.2 | 2.9.7.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
726.v7e6f53de133c up to 746.v350d2781c184, plus listed versions 726.vb0c1ea6c9336731.v1f980b7eba32734.v2f848c5e6ea2737.vdf9dc06105be |
746.v350d2781c184 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
720.vbe985dd73d66 up to 725.vd9f8be0fa250, plus listed versions 723.vbabdf19eb4c7 |
725.vd9f8be0fa250 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
2.9.8 up to 2.9.11.2, plus listed versions 2.9.102.9.112.9.9 |
2.9.11.2 |
org.jenkins-ci.plugins:cloudbees-bitbucket-branch-sourceMaven |
before 2.9.7.2, plus listed versions 1.31.41.51.71.8 Show 45 moreShow less1.92.0.02.0.0-beta-12.0.12.0.22.0.2-beta-12.1.02.1.12.1.1-beta-12.1.22.2.02.2.0-alpha-12.2.0-alpha-42.2.0-beta-12.2.12.2.102.2.112.2.122.2.132.2.142.2.152.2.162.2.22.2.32.2.42.2.52.2.62.2.72.2.82.2.92.3.02.4.02.4.12.4.22.4.32.4.42.4.52.4.62.5.02.6.02.7.02.8.02.9.02.9.12.9.2 |
2.9.7.2 |
History
| Recorded | Changed | Sources |
|---|---|---|
| aliases | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2022-20618 is a medium vulnerability (CVSS 4.3) in Jenkins Bitbucket Branch Source, published January 12, 2022. No source lists public exploit code. EPSS puts the chance of exploitation in the next 30 days at 0.88%, the 59th percentile. Fixed in org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source 746.v350d2781c184.
References
jenkins.io/security/advisory/2022-01-12
openwall.com/lists/oss-security/2022/01/12/6
nvd.nist.gov/vuln/detail/CVE-2022-20618
github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20618.json
github.com/jenkinsci/bitbucket-branch-source-plugin/commit/467ed6c94af8735c4755d53145a54325ae82d073
github.com/advisories/GHSA-w2mh-6xj5-f77f
github.com/jenkinsci/bitbucket-branch-source-plugin
Left out here: 5 versions. The JSON record has them.