Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin (Kubernetes Kubernetes)
At a glance
- Source
- NVD
- EPSS
- EPSS 2.16 % · percentile 82 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- kubernetes
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-20 — Improper Input Validation
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | kubernetes |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD · jordan@liggitt.net (Secondary) |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD · nvd@nist.gov (Primary) |
Advisories
- GHSA-cgcv-5272-97pr — Kubernetes mountable secrets policy bypass
- GO-2023-1892 — Kubernetes mountable secrets policy bypass in k8s.io/kubernetes
European references
- ENISA EUVD · EUVD-2023-2032
- GCVE · GCVE-0-2023-2728
CERT-FR advisories
- CERTFR-2026-AVI-1385 — Multiples vulnérabilités dans les produits VMware · cert.ssi.gouv.fr
- CERTFR-2026-AVI-0249 — Multiples vulnérabilités dans les produits IBM · cert.ssi.gouv.fr
Affected configurations (NVD CPE)
cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≤ 1.24.14cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.25.0 ≤ 1.25.10cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.26.0 ≤ 1.26.5cpe:2.3:a:kubernetes:kubernetes:*:*:*:*:*:*:*:*≥ 1.27.0 ≤ 1.27.2
Affected products
| Product | Versions |
|---|---|
| Kubernetes · Kubernetes | affected v1.24.14 ≤ <= ; affected v1.25.0 - v1.25.10 ; affected v1.26.0 - v1.26.5 ; affected v1.27.0 - v1.27.2 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| CERT-FR (ANSSI) | Licence Ouverte / Etalab 2.0 |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |