{"id":"CVE-2023-2728","summary":"Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin","details":"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.","aliases":["GHSA-cgcv-5272-97pr","GO-2023-1892"],"modified":"2026-05-15T11:53:51.483589401Z","published":"2023-07-03T20:06:11.796Z","related":["CGA-rf9v-fqxc-27vj","SUSE-SU-2023:2541-1","SUSE-SU-2023:2542-1","SUSE-SU-2023:2543-1","SUSE-SU-2023:2544-1","SUSE-SU-2023:3260-1","SUSE-SU-2024:3341-1","SUSE-SU-2024:3343-1","openSUSE-SU-2024:13003-1","openSUSE-SU-2024:13011-1","openSUSE-SU-2025:15424-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2728.json","cwe_ids":["CWE-20"],"unresolved_ranges":[{"source":"AFFECTED_FIELD","extracted_events":[{"introduced":"v1.24.14"},{"last_affected":"\u003c="},{"last_affected":"v1.25.0 - v1.25.10"},{"last_affected":"v1.26.0 - v1.26.5"},{"last_affected":"v1.27.0 - v1.27.2"}]}],"cna_assigner":"kubernetes"},"references":[{"type":"WEB","url":"http://www.openwall.com/lists/oss-security/2023/07/06/3"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/2xxx/CVE-2023-2728.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-2728"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20230803-0004/"},{"type":"REPORT","url":"https://github.com/kubernetes/kubernetes/issues/118640"},{"type":"ARTICLE","url":"https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8"}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N"}]}