# CVE-2022-20618: Incorrect Permission Assignment for Critical Resource in Jenkins Bitbucket Branch Source Plugin

- Severity: Medium 4.3 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.80%, higher than 53% of CVEs (2026-11-30)
- Published: 2022-01-12T19:05:54.000Z
- Modified: 2026-06-17T04:24:42.060Z
- Also known as: GHSA-w2mh-6xj5-f77f
- Weaknesses: CWE-732, CWE-862
- Assigned by: jenkins

## Description

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.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Bitbucket Branch Source Plugin: from unspecified up to 737.vdf9dc06105be (not affected: 725.vd9f8be0fa250; 2.9.11.2; 2.9.7.2)
- org.jenkins-ci.plugins:cloudbees-bitbucket-branch-source (Maven): from 726.v7e6f53de133c before 746.v350d2781c184; from 720.vbe985dd73d66 before 725.vd9f8be0fa250; from 2.9.8 before 2.9.11.2; before 2.9.7.2
- jenkins bitbucket_branch_source: up to 2.9.10; 737.vdf9dc06105be

## Every score

- GitHub: 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`
- NVD: 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`
- NVD: CVSS:2.0 4.0 Medium `AV:N/AC:L/Au:S/C:P/I:N/A:N`

## References

- <https://www.jenkins.io/security/advisory/2022-01-12/#SECURITY-2033> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2022/01/12/6> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-20618> (advisory)
- <https://github.com/jenkinsci/bitbucket-branch-source-plugin/commit/467ed6c94af8735c4755d53145a54325ae82d073> (web)
- <https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20618.json> (web)
- <https://github.com/jenkinsci/bitbucket-branch-source-plugin> (package)

## Sources

- CVE List: [CVE-2022-20618](https://www.cve.org/CVERecord?id=CVE-2022-20618), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-w2mh-6xj5-f77f](https://github.com/advisories/GHSA-w2mh-6xj5-f77f), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2022-20618](https://nvd.nist.gov/vuln/detail/CVE-2022-20618), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2022-20618 · Whole record: https://cve.day/CVE-2022-20618.json · Rebuilt by cve.day 2026-11-25T22:58:09.222Z
