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.
Attack profile
How easy it is to exploit
- Attack vector
- Network
- Complexity
- Low
- Privileges needed
- Low
- User interaction
- None
What an attacker can affect
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Exploit likelihood
What each source reports
CVE List Score used
8.8
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.
- Record
CVE-2021-25741- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Weakness
- CWE-20
- Updated
- 2026-11-02
EUVDEUVD-2021-2339
8.8
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.
- Record
EUVD-2021-2339- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-03
GitHub AdvisoriesGHSA-f5f7-6478-qm6p
8.1
Files or Directories Accessible to External Parties in kubernetes
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.
- Record
GHSA-f5f7-6478-qm6p- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20, CWE-552
- Updated
- 2026-11-02
NVD
8.8
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.
- Record
CVE-2021-25741- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - CVSS 2.0
- 5.5 Medium
AV:N/AC:L/Au:S/C:P/I:P/A:N - Weakness
- CWE-20, CWE-552
- Updated
- 2026-11-02
OSV
8.1
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.
- Record
CVE-2021-25741- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVDEBIAN-CVE-2021-25741
8.1
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.
- Record
DEBIAN-CVE-2021-25741- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
Show 8 moreShow less
OSVGHSA-f5f7-6478-qm6p
8.1
Files or Directories Accessible to External Parties in kubernetes
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.
- Record
GHSA-f5f7-6478-qm6p- CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Weakness
- CWE-20, CWE-552
- Updated
- 2026-11-02
OSVRHSA-2021:3631
8.8
Red Hat Security Advisory: OpenShift Container Platform 4.8.13 security update
- Record
RHSA-2021:3631- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:3635
8.8
Red Hat Security Advisory: OpenShift Container Platform 4.7.32 packages and security update
- Record
RHSA-2021:3635- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:3642
8.8
Red Hat Security Advisory: OpenShift Container Platform 4.6.46 security update
- Record
RHSA-2021:3642- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVRHSA-2021:3646
8.8
Red Hat Security Advisory: OpenShift Container Platform 3.11.524 security and bug fix update
- Record
RHSA-2021:3646- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - Updated
- 2026-11-02
OSVUBUNTU-CVE-2021-25741
8.8
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.
- Record
UBUNTU-CVE-2021-25741- CVSS 3.1
- 8.8 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H - CVSS 3.1
- 8.1 High
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N - Updated
- 2026-11-02
OSVGO-2022-0910 No score
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
Files or Directories Accessible to External Parties in kubernetes in k8s.io/kubernetes
- Record
GO-2022-0910- Updated
- 2026-11-02
OSVopenSUSE-SU-2025:15424-1 No score
govulncheck-vulndb-0.0.20250807T150727-1.1 on GA media
These are all security issues fixed in the govulncheck-vulndb-0.0.20250807T150727-1.1 package on the GA media of openSUSE Tumbleweed.
- Record
openSUSE-SU-2025:15424-1- Updated
- 2026-11-02
Affected products
Affected packages
| Package | Affected | Fixed |
|---|---|---|
k8s.io/kubernetesGo |
before 1.19.15 | 1.19.15 |
k8s.io/kubernetesGo |
1.20.0 up to 1.20.11 | 1.20.11 |
k8s.io/kubernetesGo |
1.21.0 up to 1.21.5 | 1.21.5 |
k8s.io/kubernetesGo |
1.22.0 up to 1.22.2 | 1.22.2 |
kubernetesDebian:12 |
before 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
kubernetesDebian:13 |
before 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
kubernetesDebian:14 |
before 1.20.5+really1.20.2-1 | 1.20.5+really1.20.2-1 |
k8s.io/kubernetesGo |
before 1.19.15, 1.20.0 up to 1.20.11, 1.21.0 up to 1.21.5, 1.22.0 up to 1.22.2 | 1.19.151.20.111.21.51.22.2 |
openshiftRed Hat:openshift:4.8::el7 |
before 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 |
openshift-hyperkubeRed Hat:openshift:4.8::el7 |
before 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el7 |
Show 24 moreShow less
| Package | Affected | Fixed |
|---|---|---|
openshiftRed Hat:openshift:4.8::el8 |
before 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el8 | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el8 |
openshift-hyperkubeRed Hat:openshift:4.8::el8 |
before 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el8 | 0:4.8.0-202109180335.p0.git.a620f50.assembly.stream.el8 |
openshiftRed Hat:openshift:4.7::el7 |
before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 |
openshift-hyperkubeRed Hat:openshift:4.7::el7 |
before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el7 |
openshiftRed Hat:openshift:4.7::el8 |
before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el8 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el8 |
openshift-hyperkubeRed Hat:openshift:4.7::el8 |
before 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el8 | 0:4.7.0-202109172126.p0.git.bbbc079.assembly.stream.el8 |
openshiftRed Hat:openshift:4.6::el7 |
before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 |
openshift-hyperkubeRed Hat:openshift:4.6::el7 |
before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el7 |
openshiftRed Hat:openshift:4.6::el8 |
before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 |
openshift-hyperkubeRed Hat:openshift:4.6::el8 |
before 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 | 0:4.6.0-202109180038.p0.git.d5ed12c.assembly.stream.el8 |
atomic-openshiftRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-clientsRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-clients-redistributableRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-docker-excluderRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-excluderRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-hyperkubeRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-hypershiftRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-masterRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-nodeRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-podRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-sdn-ovsRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-template-service-brokerRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
atomic-openshift-testsRed Hat:openshift:3.11::el7 |
before 0:3.11.524-1.git.0.2dffce7.el7 | 0:3.11.524-1.git.0.2dffce7.el7 |
govulncheck-vulndbopenSUSE:Tumbleweed From an advisory covering 44 CVEs |
before 0.0.20250807T150727-1.1 | 0.0.20250807T150727-1.1 |
Public exploits
Links only. Every CVE stores no exploit code.
| Source | Link | Date |
|---|---|---|
| PoC in GitHub | Betep0k/CVE-2021-25741 | 2022-01-19 |
| PoC in GitHub | cdxiaodong/CVE-2021-25741 | 2023-10-19 |
| PoC in GitHub | Glutenfree69/ZigRaceExploit | 2026-03-17 |
History
| Recorded | Changed | Sources |
|---|---|---|
| affected, exploits, facts | ||
| affected | ||
| aliases, published | EUVD | |
| first indexed | CVE List, GitHub Advisories, NVD, OSV, PoC in GitHub |
Dates are when Every CVE recorded each change. Upstream dates may differ.
In short
CVE-2021-25741 is a high vulnerability (CVSS 8.8) in Kubernetes, published September 20, 2021. Public exploit code exists. EPSS puts the chance of exploitation in the next 30 days at 7.96%, the 94th percentile. Fixed in k8s.io/kubernetes 1.19.15.
References
groups.google.com/g/kubernetes-security-announce/c/nyfdhK24H7s
github.com/kubernetes/kubernetes/issues/104980
security.netapp.com/advisory/ntap-20211008-0006
github.com/bottlerocket-os/bottlerocket/security/advisories/GHSA-f5f7-6478-qm6p
nvd.nist.gov/vuln/detail/CVE-2021-25741
github.com/advisories/GHSA-f5f7-6478-qm6p
Show 59 moreShow less
security-tracker.debian.org/tracker/CVE-2021-25741
github.com/kubernetes/kubernetes
access.redhat.com/errata/RHSA-2021:3631
access.redhat.com/security/updates/classification
bugzilla.redhat.com/show_bug.cgi?id=1993749
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3631.json
access.redhat.com/security/cve/CVE-2021-25741
cve.org/CVERecord?id=CVE-2021-25741
access.redhat.com/errata/RHSA-2021:3635
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3635.json
access.redhat.com/errata/RHSA-2021:3642
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3642.json
access.redhat.com/errata/RHSA-2021:3646
security.access.redhat.com/data/csaf/v2/advisories/2021/rhsa-2021_3646.json
ubuntu.com/security/CVE-2021-25741
suse.com/security/cve/CVE-2015-7561
suse.com/security/cve/CVE-2016-9962
suse.com/security/cve/CVE-2017-1000056
suse.com/security/cve/CVE-2017-1002102
suse.com/security/cve/CVE-2018-1002100
suse.com/security/cve/CVE-2018-1002101
suse.com/security/cve/CVE-2018-16733
suse.com/security/cve/CVE-2018-19184
suse.com/security/cve/CVE-2019-1002100
suse.com/security/cve/CVE-2019-1002101
suse.com/security/cve/CVE-2019-11245
suse.com/security/cve/CVE-2019-11251
suse.com/security/cve/CVE-2019-11253
suse.com/security/cve/CVE-2020-26240
suse.com/security/cve/CVE-2020-26241
suse.com/security/cve/CVE-2020-8551
suse.com/security/cve/CVE-2020-8555
suse.com/security/cve/CVE-2020-8557
suse.com/security/cve/CVE-2020-8558
suse.com/security/cve/CVE-2020-8562
suse.com/security/cve/CVE-2020-8563
suse.com/security/cve/CVE-2020-8566
suse.com/security/cve/CVE-2021-25735
suse.com/security/cve/CVE-2021-25736
suse.com/security/cve/CVE-2021-25737
suse.com/security/cve/CVE-2021-25741
suse.com/security/cve/CVE-2021-25743
suse.com/security/cve/CVE-2021-30465
suse.com/security/cve/CVE-2022-29162
suse.com/security/cve/CVE-2022-29177
suse.com/security/cve/CVE-2022-3162
suse.com/security/cve/CVE-2022-3294
suse.com/security/cve/CVE-2023-2431
suse.com/security/cve/CVE-2023-25809
suse.com/security/cve/CVE-2023-2727
suse.com/security/cve/CVE-2023-2728
suse.com/security/cve/CVE-2023-27561
suse.com/security/cve/CVE-2023-28642
suse.com/security/cve/CVE-2023-5528
suse.com/security/cve/CVE-2024-45310
suse.com/security/cve/CVE-2024-5321
suse.com/security/cve/CVE-2025-3445
suse.com/security/cve/CVE-2025-47907
suse.com/security/cve/CVE-2025-47908