SecurityContext

CVE-2023-27593: Cilium - Privilege Escalation

  • Cve: CVE-2023-27593
  • Name: Cilium - Privilege Escalation
  • 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.
  • Impact: Attackers can replace CNI binaries to execute malicious code on the node, leading to full node compromise.
  • Remediation: Update to versions 1.11.15, 1.12.8, or 1.13.1 or later. Use Kubernetes RBAC to restrict exec access to Cilium pods.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 5.5
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
  • Epss score: 0.00217
  • Epss percentile: 0.12129
  • Assignee: [email protected]
  • Published at: 2023-03-17T20:15:13Z
  • Age in days: 1348
  • Modified at: 2026-06-17T05:45:32Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-27593
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: requirements, hackerone

Cwe

IdName
CWE-276Incorrect Default Permissions

References

Same in every row:

  • Source: nvd
  • Tags: Third Party Advisory
Url
https://github.com/cilium/cilium/pull/24075
https://github.com/cilium/cilium/releases/tag/v1.11.15
https://github.com/cilium/cilium/releases/tag/v1.12.8
https://github.com/cilium/cilium/releases/tag/v1.13.1
https://github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrx
https://kubernetes.io/docs/reference/access-authn-authz/rbac/

Products

ProductAffectedPlatform boundSourcesUrl
cilium:cilium>= 1.13.0, < 1.13.1; >= 1.12.0, < 1.12.8; < 1.11.15nonvd/v1/products/cilium/cilium

Projects

RepositoryLink kindsIndexedUrl
cilium/ciliumpackage, pull, releases, security_advisoryyes/v1/repositories/cilium/cilium

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts