NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
MEDIUM severity

CVE-2023-2728 — kubernetes

MEDIUMFix: kubernetes/kubernetes#118356

CVE-2023-2728 is a medium-severity (CVSS 6.5) Improper Input Validation vulnerability in k8s.io/kubernetes. A fix is available for k8s.io/kubernetes — see the affected versions and patch details below.

Bypassing enforce mountable secrets policy imposed by the ServiceAccount admission plugin

Also known asGHSA-cgcv-5272-97prGO-2023-1892
Published
Updated
Affected
4 pkgs
Patched
4 / 4
Exploits
None indexed
Exploitation data as of Nov 3, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Exploitation Status

No confirmed exploitation observed yet

  • A successful exploit gives an attacker total control of the affected component, not partial access.
  • CISA’s own triage has not observed active exploitation or public proof-of-concept code for this CVE as of its last assessment.

Exploitation and automatability from CISA’s SSVC triage for CVE-2023-2728.

EPSS Exploitation Probability

via FIRST.org ↗
2.2%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs82th percentile — riskier than 82% of all scored CVEsHighest risk
1.35%2.79%4.22%5.66%4.9%2.2%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

4 pkgs affected
🐹k8s.io/kubernetes🐹k8s.io/kubernetes🐹k8s.io/kubernetes🐹k8s.io/kubernetes

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
🐹Gok8s.io/kubernetes≥ 1.27.0&&< 1.27.31.27.3go get k8s.io/kubernetes@v1.27.3
🐹Gok8s.io/kubernetes≥ 1.26.0&&< 1.26.61.26.6go get k8s.io/kubernetes@v1.26.6
🐹Gok8s.io/kubernetes≥ 1.25.0&&< 1.25.111.25.11go get k8s.io/kubernetes@v1.25.11
🐹Gok8s.io/kubernetesall versions1.24.15go get k8s.io/kubernetes@v1.24.15

Affected Products

1 product · 4 configurations
Application
kuberneteskubernetes
≥ 1.27.0 && ≤ 1.27.2
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for k8s.io/kubernetes, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update k8s.io/kubernetes to 1.27.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-2728 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate
Workaround published by Red Hat
This issue can be mitigated by applying the patch provided for the kube-apiserver component. The patch prevents ephemeral containers from bypassing the mountable secrets policy enforced by the ServiceAccount admission plugin.
Source: Red Hat security advisory for CVE-2023-2728 (CC BY 4.0)
ProductFixed inAdvisory
Red Hat OpenShift Container Platform 4.14buildah-1:1.29.1-10.1.rhaos4.14.el8RHSA-2023:5009
Red Hat OpenShift Container Platform 4.14microshift-0:4.14.0-202310261440.p0.g1586504.assembly.4.14.0.el9RHSA-2023:5008

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2023-2728 in your dependencies?

Find it across Go, including transitive dependencies.

CVE-2023-2728: kubernetes — Fixed in 1.27.3