# CVE-2022-20620: Missing permission checks in SSH Agent Plugin allow enumerating credentials IDs

- 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.77%, higher than 56% of CVEs (2026-12-01)
- Published: 2022-01-12T19:05:58.000Z
- Modified: 2026-06-17T04:24:42.260Z
- Also known as: GHSA-9wxh-jjj5-67cv
- Weaknesses: CWE-668, CWE-862
- Assigned by: jenkins

## Description

Missing permission checks in Jenkins SSH Agent Plugin 1.23 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 SSH Agent Plugin: from unspecified up to 1.23 (not affected: 1.22.1)
- org.jenkins-ci.plugins:ssh-agent (Maven): from 1.23 before 1.23.2; before 1.22.1
- jenkins ssh_agent: up to 1.23

## 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-2189> (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-20620> (advisory)
- <https://github.com/jenkinsci/ssh-agent-plugin/commit/04f526d2f73a6fc24b59df20ba03d95265114835> (web)
- <https://github.com/jenkinsci/ssh-agent-plugin/commit/9c08b9f93cfb3ada0f0124f5bd7f0d027728a750> (web)
- <https://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.jsonhttps://github.com/CVEProject/cvelist/blob/2d78eb36f4d084db7fb35f1535d8d84fdcb7d859/2022/20xxx/CVE-2022-20620.json> (web)
- <https://github.com/jenkinsci/ssh-agent-plugin> (package)

## Sources

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

---

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