CVE-2020-26278 json
Weave Net Pods running in host PID namespace can be used to escalate other Kubernetes vulnerabilities
published 2021-01-20 5 y ago modified 2026-06-17 4 mo ago also EUVD-2020-18852
- cvss
- 5.8
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.7%
- EPSS 0.7% chance of exploitation in 30 days, percentile 55%
- public exploits
- 0
- none known
Summary
Weave Net is open source software which creates a virtual network that connects Docker containers across multiple hosts and enables their automatic discovery. Weave Net before version 2.8.0 has a vulnerability in which can allow an attacker to take over any host in the cluster. Weave Net is supplied with a manifest that runs pods on every node in a Kubernetes cluster, which are responsible for managing network connections for all other pods in the cluster. This requires a lot of power over the host, and the manifest sets `privileged: true`, which gives it that power. It also set `hostPID: true`, which gave it the ability to access all other processes on the host, and write anywhere in the root filesystem of the host. This setting was not necessary, and is being removed. You are only vulnerable if you have an additional vulnerability (e.g. a bug in Kubernetes) or misconfiguration that allows an attacker to run code inside the Weave Net pod, No such bug is known at the time of release, and there are no known instances of this being exploited. Weave Net 2.8.0 removes the hostPID setting and moves CNI plugin install to an init container. Users who do not update to 2.8.0 can edit the hostPID line in their existing DaemonSet manifest to say false instead of true, arrange some other way to install CNI plugins (e.g. Ansible) and remove those mounts from the DaemonSet manifest.
Patch / fix
- weave weave 2.8.0
- github.com/weaveworks/weave@a0ac81b commit
- github.com/weaveworks/weave#3876 pull request
Exploit prediction
0.74% chance of exploitation in the next 30 days, higher than 55% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.8 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:N |
| NVD | 3.1 | 8.0 | CVSS:3.1/AV:A/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H |
| NVD | 2.0 | 7.9 | AV:A/AC:M/Au:N/C:C/I:C/A:C |
Affected products
- weaveworks weave
Classification
- Weakness
-
- CWE-250 Execution with Unnecessary Privileges
References
-
github.com
/weaveworks/weave/commit/a0ac81b3b4cae6d0dcaf3732fd91cedefc89f720
patch, third-party-advisory
-
github.com
/weaveworks/weave/pull/3876
patch, third-party-advisory
-
github.com
/weaveworks/weave/security/advisories/GHSA-pg3p-v8c6-c6h3
third-party-advisory
-
github.com
/weaveworks/weave/blob/master/CHANGELOG.md#release-280
release-notes, third-party-advisory
Sources
- CVE List CVE-2020-26278
- NVD CVE-2020-26278
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.