# CVE-2023-2728: Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin

- Severity: Medium 6.5 (CVSS:3.1, scored by kubernetes) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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): 2.16%, higher than 82% of CVEs (2026-12-01)
- Published: 2023-07-03T20:06:11.796Z
- Modified: 2026-09-10T03:49:57.264Z
- Also known as: GHSA-cgcv-5272-97pr, GO-2023-1892
- Related: CGA-rf9v-fqxc-27vj
- Weaknesses: CWE-20
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: kubernetes

## Description

Users may be able to launch containers that bypass the mountable secrets policy enforced by the ServiceAccount admission plugin when using ephemeral containers. The policy ensures pods running with a service account may only reference secrets specified in the service account’s secrets field. Kubernetes clusters are only affected if the ServiceAccount admission plugin and the `kubernetes.io/enforce-mountable-secrets` annotation are used together with ephemeral containers.

(As written by CVE List.)

## Affected

- Kubernetes Kubernetes: from v1.24.14 up to <=; v1.25.0 - v1.25.10; v1.26.0 - v1.26.5; v1.27.0 - v1.27.2; up to 1.24.14; from 1.25.0 up to 1.25.10; from 1.26.0 up to 1.26.5; from 1.27.0 up to 1.27.2
- k8s.io/kubernetes (Go): from 1.27.0 before 1.27.3; from 1.26.0 before 1.26.6; from 1.25.0 before 1.25.11; before 1.24.15

## Every score

- kubernetes: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8> (mailing-list, web)
- <https://github.com/kubernetes/kubernetes/issues/118640> (issue-tracking, web)
- <http://www.openwall.com/lists/oss-security/2023/07/06/3> (mailing-list, web)
- <https://security.netapp.com/advisory/ntap-20230803-0004/>
- <https://nvd.nist.gov/vuln/detail/CVE-2023-2728> (advisory)
- <https://github.com/kubernetes/kubernetes/pull/118356> (web)
- <https://github.com/kubernetes/kubernetes/pull/118471> (web)
- <https://github.com/kubernetes/kubernetes/pull/118473> (web)
- <https://github.com/kubernetes/kubernetes/pull/118474> (web)
- <https://github.com/kubernetes/kubernetes/pull/118512> (web)
- <https://github.com/kubernetes/kubernetes> (package)
- <https://security.netapp.com/advisory/ntap-20230803-0004> (web)
- <https://github.com/advisories/GHSA-cgcv-5272-97pr> (advisory)

## Sources

- CVE List: [CVE-2023-2728](https://www.cve.org/CVERecord?id=CVE-2023-2728), CVE Terms of Use, modified 2025-02-13
- GitHub Advisory Database: [GHSA-cgcv-5272-97pr](https://github.com/advisories/GHSA-cgcv-5272-97pr), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-1892](https://pkg.go.dev/vuln/GO-2023-1892), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-2728](https://nvd.nist.gov/vuln/detail/CVE-2023-2728), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-2728 · Whole record: https://cve.day/CVE-2023-2728.json · Rebuilt by cve.day 2026-11-25T22:58:25.363Z
