# CVE-2018-20321: Access Control Bypass

- Severity: High 8.8 (CVSS:3.0, scored by NVD) `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- 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): 1.77%, higher than 78% of CVEs (2026-12-01)
- Published: 2019-04-10T13:59:44.000Z
- Modified: 2026-06-17T01:52:37.003Z
- Also known as: GHSA-9qq2-xhmc-h9qr, GO-2022-0644
- Weaknesses: CWE-288, CWE-668
- Assigned by: mitre

## Description

An issue was discovered in Rancher 2 through 2.1.5. Any project member with access to the default namespace can mount the netes-default service account in a pod, and then use that pod to execute administrative privileged commands against the k8s cluster. This could be mitigated by isolating the default namespace in a separate project, where only cluster admins can be given permissions to access. As of 2018-12-20, this bug affected ALL clusters created or imported by Rancher.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- github.com/rancher/rancher (Go): from 2.0.0 before 2.1.6; from 2.0.0+incompatible before 2.1.6+incompatible
- suse rancher: from 2.0.0 up to 2.1.5

## Every score

- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 9.0 High `AV:N/AC:L/Au:S/C:C/I:C/A:C`

## References

- <https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11/> (mitigation, vendor-advisory)
- <https://forums.rancher.com/c/announcements> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2018-20321> (advisory)
- <https://github.com/rancher/rancher/commit/6ea187fcc2309d5a7a14ed47de5688bf6573f448> (fix, web)
- <https://github.com/rancher/rancher> (package)
- <https://github.com/rancher/rancher/releases/tag/v2.1.6> (web)
- <https://rancher.com/blog/2019/2019-01-29-explaining-security-vulnerabilities-addressed-in-rancher-v2-1-6-and-v2-0-11> (web)
- <https://github.com/advisories/GHSA-9qq2-xhmc-h9qr> (advisory)

## Sources

- CVE List: [CVE-2018-20321](https://www.cve.org/CVERecord?id=CVE-2018-20321), CVE Terms of Use, modified 2024-08-05
- GitHub Advisory Database: [GHSA-9qq2-xhmc-h9qr](https://github.com/advisories/GHSA-9qq2-xhmc-h9qr), CC-BY-4.0, modified 2024-08-21
- Go Vulnerability Database: [GO-2022-0644](https://pkg.go.dev/vuln/GO-2022-0644), CC-BY-4.0, modified 2026-03-03
- NVD: [CVE-2018-20321](https://nvd.nist.gov/vuln/detail/CVE-2018-20321), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2018-20321 · Whole record: https://cve.day/CVE-2018-20321.json · Rebuilt by cve.day 2026-11-25T22:57:42.132Z
