# CVE-2023-27593: cilium-agent container can access the host via `hostPath` mount

- Severity: Medium 4.4 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/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.22%, higher than 12% of CVEs (2026-12-01)
- Published: 2023-03-17T18:20:46.000Z
- Modified: 2026-09-10T03:49:52.397Z
- Also known as: GHSA-4hc4-pgfx-3mrx, BIT-CILIUM-2023-27593, BIT-CILIUM-OPERATOR-2023-27593, BIT-CILIUM-PROXY-2023-27593, BIT-HUBBLE-2023-27593, BIT-HUBBLE-RELAY-2023-27593, BIT-HUBBLE-UI-2023-27593, BIT-HUBBLE-UI-BACKEND-2023-27593
- Weaknesses: CWE-276
- 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. Prior to versions 1.11.15, 1.12.8, and 1.13.1, an attacker with access to a Cilium agent pod can write to `/opt/cni/bin` due to a `hostPath` mount of that directory in the agent pod. By replacing the CNI binary with their own malicious binary and waiting for the creation of a new pod on the node, the attacker can gain access to the underlying node.

The issue has been fixed and the fix is available on versions 1.11.15, 1.12.8, and 1.13.1. Some workarounds are available. Kubernetes RBAC should be used to deny users and service accounts `exec` access to Cilium agent pods. In cases where a user requires `exec` access to Cilium agent pods, but should not have access to the underlying node, no workaround is possible.

(As written by CVE List.)

## Affected

- cilium cilium: < 1.11.15; >= 1.12.0, < 1.12.8; >= 1.13.0, < 1.13.1; before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- github.com/cilium/cilium (Go): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- cilium (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- cilium-operator (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- cilium-proxy (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- hubble (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- hubble-relay (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- hubble-ui (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1
- hubble-ui-backend (Bitnami): before 1.11.15; from 1.12.0 before 1.12.8; from 1.13.0 before 1.13.1

## Every score

- GitHub_M: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 4.4 Medium `CVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx> (advisory, third-party-advisory, web)
- <https://github.com/cilium/cilium/pull/24075> (advisory, third-party-advisory, web)
- <https://github.com/cilium/cilium/releases/tag/v1.11.15> (advisory, third-party-advisory, web)
- <https://github.com/cilium/cilium/releases/tag/v1.12.8> (advisory, third-party-advisory, web)
- <https://github.com/cilium/cilium/releases/tag/v1.13.1> (advisory, third-party-advisory, web)
- <https://kubernetes.io/docs/reference/access-authn-authz/rbac/> (advisory, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27593> (advisory, web)
- <https://github.com/cilium/cilium> (package)
- <https://kubernetes.io/docs/reference/access-authn-authz/rbac> (web)

## Sources

- CVE List: [CVE-2023-27593](https://www.cve.org/CVERecord?id=CVE-2023-27593), CVE Terms of Use, modified 2025-02-25
- GitHub Advisory Database: [GHSA-4hc4-pgfx-3mrx](https://github.com/advisories/GHSA-4hc4-pgfx-3mrx), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2023-27593](https://nvd.nist.gov/vuln/detail/CVE-2023-27593), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-CILIUM-2023-27593](https://osv.dev/vulnerability/BIT-CILIUM-2023-27593), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-CILIUM-OPERATOR-2023-27593](https://osv.dev/vulnerability/BIT-CILIUM-OPERATOR-2023-27593), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-CILIUM-PROXY-2023-27593](https://osv.dev/vulnerability/BIT-CILIUM-PROXY-2023-27593), Apache-2.0, modified 2024-07-01
- Bitnami Vulnerability Database: [BIT-HUBBLE-2023-27593](https://osv.dev/vulnerability/BIT-HUBBLE-2023-27593), Apache-2.0, modified 2024-07-01
- Bitnami Vulnerability Database: [BIT-HUBBLE-RELAY-2023-27593](https://osv.dev/vulnerability/BIT-HUBBLE-RELAY-2023-27593), Apache-2.0, modified 2026-09-08
- Bitnami Vulnerability Database: [BIT-HUBBLE-UI-2023-27593](https://osv.dev/vulnerability/BIT-HUBBLE-UI-2023-27593), Apache-2.0, modified 2024-07-01
- Bitnami Vulnerability Database: [BIT-HUBBLE-UI-BACKEND-2023-27593](https://osv.dev/vulnerability/BIT-HUBBLE-UI-BACKEND-2023-27593), Apache-2.0, modified 2024-07-01

---

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