CVE-2023-27593: cilium-agent container can access the host via `hostPath` mount
Vulnerability summary
CVE-2023-27593 is a medium (CVSS 5.5) Incorrect Default Permissions vulnerability in cilium. EPSS estimates a 0.22% chance of exploitation in the next 30 days, higher than 11.4% of scored vulnerabilities.
Advisory lineage
Upstream 0 · Downstream 0 · Related 5Timeline
- 17-03-2023PublishedVulnerability first disclosed.
- 25-02-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
4 scores · 4 sources · 1 version- CVE.orgCNA4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · GoEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
- OSV · ChainguardEcosystem advisory · calculated4.4MediumCVSS:3.1/AV:L/AC:L/PR:H/UI:N/S:U/C:N/I:N/A:HDiffers
EPSS trend
Probability
0.22%
Chance of exploitation in the next 30 days
Percentile
11%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.22% on 22-09-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Chainguard17 products
- cilium-1.15All versions (No fix recorded)
- cilium-1.15-clustermesh-apiserverAll versions (No fix recorded)
- cilium-1.15-container-initAll versions (No fix recorded)
- cilium-1.15-container-init-compatAll versions (No fix recorded)
- cilium-1.15-hubble-relayAll versions (No fix recorded)
Cilium1 product
- cilium< 1.11.15 | ≥ 1.12.0, < 1.12.8 | ≥ 1.13.0, < 1.13.1
Github.com/cilium1 product
- cilium< 1.11.15 | ≥ 1.12.0, < 1.12.8 | ≥ 1.13.0, < 1.13.1
3 vendors · 19 products
References
10 links- github.com/cilium/cilium/security/advisories/GHSA-4hc4-pgfx-3mrxX Refsource CONFIRMWEBAdvisoryThird Party Advisory
- github.com/cilium/ciliumPACKAGE