Home / Kubernetes / Kubernetes / CVE-2021-25741
CVE-2021-25741: is it exploited, and which versions of Kubernetes are affected and fixed?
CVE-2021-25741 is an improper input validation vulnerability in Kubernetes. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 17:09 UTC). Affected: k8s.io/kubernetes before 1.19.15, k8s.io/kubernetes from 1.20.0 before 1.20.11, k8s.io/kubernetes from 1.21.0 before 1.21.5 and 1 more (GitHub advisory GHSA-f5f7-6478-qm6p). Fixed in 1.19.15, 1.20.11, 1.21.5 and 1.22.2 (GitHub advisory GHSA-f5f7-6478-qm6p). Severity: High (8.8, CVSS 3.1, from kubernetes).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 17:09 UTC, CVE record November 28, 2026, 20:16 UTC and NVD November 19, 2026, 07:55 UTC.
What is CVE-2021-25741?
Symlink Exchange Can Allow Host Filesystem Access
A security issue was discovered in Kubernetes where a user may be able to create a container with subpath volume mounts to access files & directories outside of the volume, including on the host filesystem.
From the CVE record by kubernetes, last updated September 16, 2024, 23:26 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| Kubernetes | Kubernetes | through 1.19.14 through 1.20.10 through 1.21.4 through 1.22.1 |
As the CVE record by kubernetes states it, last updated September 16, 2024. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Go | k8s.io/kubernetes | < 1.19.15 | 1.19.15 | GHSA-f5f7-6478-qm6p |
| Go | k8s.io/kubernetes | >= 1.20.0, < 1.20.11 | 1.20.11 | GHSA-f5f7-6478-qm6p |
| Go | k8s.io/kubernetes | >= 1.21.0, < 1.21.5 | 1.21.5 | GHSA-f5f7-6478-qm6p |
| Go | k8s.io/kubernetes | >= 1.22.0, < 1.22.2 | 1.22.2 | GHSA-f5f7-6478-qm6p |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated November 1, 2021. Summary: Files or Directories Accessible to External Parties in kubernetes.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| kubernetes | kubernetes | through 1.19.14 | application |
| kubernetes | kubernetes | from 1.20.0 through 1.20.10 | application |
| kubernetes | kubernetes | from 1.21.0 through 1.21.4 | application |
| kubernetes | kubernetes | from 1.22.0 through 1.22.1 | application |
NVD analysis (status Modified), last modified June 17, 2026, 03:42 UTC.
How severe is CVE-2021-25741?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | kubernetes |
| High 8.1 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N | NVD |
| Medium 5.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:N | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2021-25741 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: total (CISA ADP, August 20, 2024)
- EPSS
- 7.96% probability of exploitation activity in the next 30 days, percentile 94.9 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
Where are the vendor advisories and references?
- https://groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s x_refsource_MISC
- https://github.com/kubernetes/kubernetes/issues/104980 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20211008-0006/ x_refsource_CONFIRM
Who found and reported it?
- Fabricio Voznika & Mark Wolters (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- January 21, 2021
- Published
- September 20, 2021, 17:05 UTC
- CVE record updated
- September 16, 2024, 23:26 UTC by kubernetes
- NVD
- Modified, last modified June 17, 2026, 03:42 UTC
- Last checked
- CVE list November 28, 2026, 20:16 UTC; NVD November 19, 2026, 07:55 UTC; KEV December 3, 2026, 17:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Kubernetes?
- Oct 26, 2026CVE-2026-2270 Kubernetes: authorization bypass through a user-controlled key (IDOR)
- Oct 26, 2026CVE-2026-76654 Kubernetes: link following (a symlink lets an attacker reach other files)
- Sep 28, 2026CVE-2026-19444 Kubernetes: path traversal (reading or writing files outside the intended folder)
- Dec 14, 2025CVE-2025-13281 Kubernetes: server-side request forgery (SSRF)
- Aug 27, 2025CVE-2025-5187 Kubernetes: incorrect authorization
- Jun 23, 2025CVE-2025-4563 Kubernetes: improper input validation
- Jul 18, 2024CVE-2024-5321 Kubernetes: insecure default permissions
- Apr 22, 2024CVE-2024-3177 Kubernetes: improper input validation
Questions about CVE-2021-25741
Is CVE-2021-25741 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 17:09 UTC. FIRST's EPSS gives it a 7.96% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Kubernetes are affected by CVE-2021-25741?
k8s.io/kubernetes before 1.19.15, k8s.io/kubernetes from 1.20.0 before 1.20.11, k8s.io/kubernetes from 1.21.0 before 1.21.5 and k8s.io/kubernetes from 1.22.0 before 1.22.2, per the GitHub advisory GHSA-f5f7-6478-qm6p. The tables above give every range the sources list.
Which version fixes CVE-2021-25741?
1.19.15, 1.20.11, 1.21.5 and 1.22.2, per the GitHub advisory GHSA-f5f7-6478-qm6p. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-25741?
High (8.8, CVSS 3.1, from kubernetes). The severity table above shows each score with its source.
Where is the official record of CVE-2021-25741?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.