# CVE-2022-45157: Exposure of vSphere's CPI and CSI credentials in Rancher

- Severity: High 8.5 (CVSS:4.0, scored by suse) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L`
- 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.43%, higher than 39% of CVEs (2026-12-01)
- Published: 2024-10-25T19:35:55.000Z
- Modified: 2026-09-10T03:50:20.194Z
- Also known as: GHSA-xj7w-r753-vj8v, GO-2024-3223
- Related: CGA-76p7-95m3-cfmq
- Weaknesses: CWE-522
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: suse

## Description

A vulnerability has been identified in the way that Rancher stores vSphere's CPI (Cloud Provider Interface) and CSI (Container Storage Interface) credentials used to deploy clusters through the vSphere cloud provider. This issue leads to the vSphere CPI and CSI passwords being stored in a plaintext object inside Rancher. This vulnerability is only applicable to users that deploy clusters in vSphere environments.

(As written by CVE List.)

## Affected

- github.com/rancher/rancher: from 2.9.0 before 2.9.3; from 2.7.0 before 2.8.9
- github.com/rancher/rancher (Go): from 2.9.0 before 2.9.3; from 2.7.0 before 2.8.9; all versions

## Every score

- suse: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- suse: CVSS:4.0 8.5 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L`
- GitHub: CVSS:3.1 9.1 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:L/A:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:L/VA:L/SC:H/SI:L/SA:L`

## References

- <https://bugzilla.suse.com/show_bug.cgi?id=CVE-2022-45157> (web)
- <https://github.com/rancher/rancher/security/advisories/GHSA-xj7w-r753-vj8v> (advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-45157> (advisory)
- <https://github.com/rancher/rancher> (package)

## Sources

- CVE List: [CVE-2022-45157](https://www.cve.org/CVERecord?id=CVE-2022-45157), CVE Terms of Use, modified 2024-11-13
- GitHub Advisory Database: [GHSA-xj7w-r753-vj8v](https://github.com/advisories/GHSA-xj7w-r753-vj8v), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2024-3223](https://pkg.go.dev/vuln/GO-2024-3223), CC-BY-4.0, modified 2026-07-02
- NVD: [CVE-2022-45157](https://nvd.nist.gov/vuln/detail/CVE-2022-45157), Public domain, modified 2026-06-17

---

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