Home / Kubernetes / Kubernetes / CVE-2023-2727
CVE-2023-2727: is it exploited, and which versions of Kubernetes are affected and fixed?
CVE-2023-2727 is an improper input validation vulnerability in Kubernetes. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 14:08 UTC). Affected: k8s.io/kubernetes from 1.27.0 before 1.27.3, k8s.io/kubernetes from 1.26.0 before 1.26.6, k8s.io/kubernetes from 1.25.0 before 1.25.11 and 1 more (GitHub advisory GHSA-qc2g-gmh6-95p4). Fixed in 1.27.3, 1.26.6, 1.25.11 and 1.24.15 (GitHub advisory GHSA-qc2g-gmh6-95p4). Severity: Medium (6.5, CVSS 3.1, from kubernetes).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:08 UTC, CVE record November 19, 2026, 07:13 UTC and NVD November 19, 2026, 07:38 UTC.
What is CVE-2023-2727?
Bypassing policies imposed by the ImagePolicyWebhook admission plugin
Users may be able to launch containers using images that are restricted by ImagePolicyWebhook when using ephemeral containers. Kubernetes clusters are only affected if the ImagePolicyWebhook admission plugin is used together with ephemeral containers.
From the CVE record by kubernetes, last updated February 13, 2025, 16:45 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Kubernetes | Kubernetes | from v1.24.14 through <= v1.25.0 - v1.25.10 v1.26.0 - v1.26.5 v1.27.0 - v1.27.2 |
As the CVE record by kubernetes states it, last updated February 13, 2025. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | k8s.io/kubernetes | >= 1.27.0, < 1.27.3 | 1.27.3 | GHSA-qc2g-gmh6-95p4 |
| Go | k8s.io/kubernetes | >= 1.26.0, < 1.26.6 | 1.26.6 | GHSA-qc2g-gmh6-95p4 |
| Go | k8s.io/kubernetes | >= 1.25.0, < 1.25.11 | 1.25.11 | GHSA-qc2g-gmh6-95p4 |
| Go | k8s.io/kubernetes | < 1.24.15 | 1.24.15 | GHSA-qc2g-gmh6-95p4 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated February 13, 2025. Summary: kube-apiserver vulnerable to policy bypass.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| kubernetes | kubernetes | through 1.24.14 | application |
| kubernetes | kubernetes | from 1.25.0 through 1.25.10 | application |
| kubernetes | kubernetes | from 1.26.0 through 1.26.5 | application |
| kubernetes | kubernetes | from 1.27.0 through 1.27.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 05:53 UTC.
How severe is CVE-2023-2727?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | kubernetes |
| Medium 6.5 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2023-2727 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, November 25, 2024)
- EPSS
- 1.13% probability of exploitation activity in the next 30 days, percentile 67.4 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-20 Improper Input Validation
How do I fix it? (from the CVE record)
To mitigate this vulnerability, upgrade Kubernetes: https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster https://kubernetes.io/docs/tasks/administer-cluster/cluster-management/#upgrading-a-cluster
Is there a workaround? (from the CVE record)
Prior to upgrading, this vulnerability can be mitigated by running validation webhooks (such as Gatekeeper and Kyverno) to enforce the same restrictions for ephemeral containers.
Where are the vendor advisories and references?
- https://groups.google.com/g/kubernetes-security-announce/c/vPWYJ_L84m8 mailing-list
- https://github.com/kubernetes/kubernetes/issues/118640 issue-tracking
- http://www.openwall.com/lists/oss-security/2023/07/06/2
- https://security.netapp.com/advisory/ntap-20230803-0004/
Who found and reported it?
- Stanislav Láznička (reporter)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- May 16, 2023
- Published
- July 3, 2023, 20:05 UTC
- CVE record updated
- February 13, 2025, 16:45 UTC by kubernetes
- NVD
- Modified, last modified June 17, 2026, 05:53 UTC
- Last checked
- CVE list November 19, 2026, 07:13 UTC; NVD November 19, 2026, 07:38 UTC; KEV December 3, 2026, 14:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Kubernetes?
- Oct 26, 2026CVE-2026-2270 Kubernetes: authorization bypass through a user-controlled key (IDOR)
- Oct 26, 2026CVE-2026-76654 Kubernetes: link following (a symlink lets an attacker reach other files)
- Sep 28, 2026CVE-2026-19444 Kubernetes: path traversal (reading or writing files outside the intended folder)
- Dec 14, 2025CVE-2025-13281 Kubernetes: server-side request forgery (SSRF)
- Aug 27, 2025CVE-2025-5187 Kubernetes: incorrect authorization
- Jun 23, 2025CVE-2025-4563 Kubernetes: improper input validation
- Jul 18, 2024CVE-2024-5321 Kubernetes: insecure default permissions
- Apr 22, 2024CVE-2024-3177 Kubernetes: improper input validation
Questions about CVE-2023-2727
Is CVE-2023-2727 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:08 UTC. FIRST's EPSS gives it a 1.13% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Kubernetes are affected by CVE-2023-2727?
k8s.io/kubernetes from 1.27.0 before 1.27.3, k8s.io/kubernetes from 1.26.0 before 1.26.6, k8s.io/kubernetes from 1.25.0 before 1.25.11 and k8s.io/kubernetes before 1.24.15, per the GitHub advisory GHSA-qc2g-gmh6-95p4. The tables above give every range the sources list.
Which version fixes CVE-2023-2727?
1.27.3, 1.26.6, 1.25.11 and 1.24.15, per the GitHub advisory GHSA-qc2g-gmh6-95p4. Check the vendor's advisory before you rely on it.
How severe is CVE-2023-2727?
Medium (6.5, CVSS 3.1, from kubernetes). The severity table above shows each score with its source.
Where is the official record of CVE-2023-2727?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.