# CVE-2023-39347: Cilium NetworkPolicy bypass via pod labels

- Severity: High 7.6 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H`
- 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): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2023-09-26T18:00:22.000Z
- Modified: 2026-09-10T03:49:58.303Z
- Also known as: GHSA-gj2r-phwg-6rww, BIT-CILIUM-2023-39347, BIT-CILIUM-OPERATOR-2023-39347, BIT-CILIUM-PROXY-2023-39347, BIT-HUBBLE-2023-39347, BIT-HUBBLE-RELAY-2023-39347, BIT-HUBBLE-UI-2023-39347, BIT-HUBBLE-UI-BACKEND-2023-39347, GO-2023-2078
- Related: CGA-499q-hj96-qc9v
- Weaknesses: CWE-345
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Cilium is a networking, observability, and security solution with an eBPF-based dataplane. An attacker with the ability to update pod labels can cause Cilium to apply incorrect network policies. This issue arises due to the fact that on pod update, Cilium incorrectly uses user-provided pod labels to select the policies which apply to the workload in question. This can affect Cilium network policies that use the namespace, service account or cluster constructs to restrict traffic, Cilium clusterwide network policies that use Cilium namespace labels to select the Pod and Kubernetes network policies. Non-existent construct names can be provided, which bypass all network policies applicable to the construct. For example, providing a pod with a non-existent namespace as the value of the `io.kubernetes.pod.namespace` label results in none of the namespaced CiliumNetworkPolicies applying to the pod in question. This attack requires the attacker to have Kubernetes API Server access, as described in the Cilium Threat Model. This issue has been resolved in: Cilium versions 1.14.2, 1.13.7, and 1.12.14. Users are advised to upgrade. As a workaround an admission webhook can be used to prevent pod label updates to the `k8s:io.kubernetes.pod.namespace` and `io.cilium.k8s.policy.*` keys.

(As written by CVE List.)

## Affected

- cilium cilium: >= 1.14.0, < 1.14.2; >= 1.13.0, < 1.13.7 ; < 1.12.14; before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- github.com/cilium/cilium (Go): from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2; before 1.12.14
- cilium (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- cilium-operator (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- cilium-proxy (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- hubble (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- hubble-relay (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- hubble-ui (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2
- hubble-ui-backend (Bitnami): before 1.12.14; from 1.13.0 before 1.13.7; from 1.14.0 before 1.14.2

## Every score

- GitHub_M: CVSS:3.1 7.6 High `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:H`
- GitHub: CVSS:3.1 5.4 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:L`
- NVD: CVSS:3.1 9.0 Critical `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H`
- Bitnami Vulnerability Database: rating Critical

## References

- <https://docs.cilium.io/en/latest/security/threat-model/#kubernetes-api-server-attacker> (exploit, advisory, technical-description, vendor-advisory, web)
- <https://github.com/cilium/cilium/security/advisories/GHSA-gj2r-phwg-6rww> (advisory, vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-39347> (advisory, web)
- <https://github.com/cilium/cilium> (package)

## Sources

- CVE List: [CVE-2023-39347](https://www.cve.org/CVERecord?id=CVE-2023-39347), CVE Terms of Use, modified 2024-09-24
- GitHub Advisory Database: [GHSA-gj2r-phwg-6rww](https://github.com/advisories/GHSA-gj2r-phwg-6rww), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2023-2078](https://pkg.go.dev/vuln/GO-2023-2078), CC-BY-4.0, modified 2026-02-04
- NVD: [CVE-2023-39347](https://nvd.nist.gov/vuln/detail/CVE-2023-39347), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CILIUM-2023-39347](https://osv.dev/vulnerability/BIT-CILIUM-2023-39347), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-CILIUM-OPERATOR-2023-39347](https://osv.dev/vulnerability/BIT-CILIUM-OPERATOR-2023-39347), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-CILIUM-PROXY-2023-39347](https://osv.dev/vulnerability/BIT-CILIUM-PROXY-2023-39347), Apache-2.0, modified 2024-08-21
- Bitnami Vulnerability Database: [BIT-HUBBLE-2023-39347](https://osv.dev/vulnerability/BIT-HUBBLE-2023-39347), Apache-2.0, modified 2024-08-21
- Bitnami Vulnerability Database: [BIT-HUBBLE-RELAY-2023-39347](https://osv.dev/vulnerability/BIT-HUBBLE-RELAY-2023-39347), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-HUBBLE-UI-2023-39347](https://osv.dev/vulnerability/BIT-HUBBLE-UI-2023-39347), Apache-2.0, modified 2024-08-21
- Bitnami Vulnerability Database: [BIT-HUBBLE-UI-BACKEND-2023-39347](https://osv.dev/vulnerability/BIT-HUBBLE-UI-BACKEND-2023-39347), Apache-2.0, modified 2024-08-21

---

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