# CVE-2021-20206: containernetworking/cni improper limitation of path name

- Severity: High 7.2 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/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): 1.52%, higher than 75% of CVEs (2026-12-01)
- Published: 2021-03-26T21:34:58.000Z
- Modified: 2026-09-10T03:49:01.035Z
- Also known as: GHSA-xjqr-g762-pxwp, GO-2022-0230, SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549
- Weaknesses: CWE-20, CWE-22
- Assigned by: redhat

## Description

An improper limitation of path name flaw was found in containernetworking/cni in versions before 0.8.1. When specifying the plugin to load in the 'type' field in the network configuration, it is possible to use special elements such as "../" separators to reference binaries elsewhere on the system. This flaw allows an attacker to execute other existing binaries other than the cni plugins/types, such as 'reboot'. The highest threat from this vulnerability is to confidentiality, integrity, as well as system availability.

(As written by CVE List.)

## Affected

- containernetworking-cni: containernetworking/cni 0.8.1
- github.com/containernetworking/cni (Go): before 0.8.1
- linuxfoundation container_network_interface: before 0.8.1

## Every score

- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P`

## References

- <https://bugzilla.redhat.com/show_bug.cgi?id=1919391> (issue-tracking, third-party-advisory, web)
- <https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMCONTAINERNETWORKINGCNIPKGINVOKE-1070549> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-20206> (advisory)
- <https://github.com/containernetworking/cni/pull/808> (fix, web)
- <https://github.com/containernetworking/cni> (package)
- <https://pkg.go.dev/vuln/GO-2022-0230> (web)

## Sources

- CVE List: [CVE-2021-20206](https://www.cve.org/CVERecord?id=CVE-2021-20206), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-xjqr-g762-pxwp](https://github.com/advisories/GHSA-xjqr-g762-pxwp), CC-BY-4.0, modified 2026-09-10
- Go Vulnerability Database: [GO-2022-0230](https://pkg.go.dev/vuln/GO-2022-0230), CC-BY-4.0, modified 2026-03-13
- NVD: [CVE-2021-20206](https://nvd.nist.gov/vuln/detail/CVE-2021-20206), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-20206 · Whole record: https://cve.day/CVE-2021-20206.json · Rebuilt by cve.day 2026-11-25T22:58:00.472Z
