CVE-2020-26269
Heap out of bounds read in filesystem glob matching in TensorFlow
Also known as BIT-tensorflow-2020-26269, GHSA-9jjw-hf72-3mxw, PYSEC-2020-141, PYSEC-2020-300, PYSEC-2020-335
Mitigation
- Upgrade tensorflow to 2.4.0 or later.
- Upgrade tensorflow-cpu to 2.4.0 or later.
- Upgrade tensorflow-gpu to 2.4.0 or later.
Who should check
- Projects that depend on PyPI package tensorflow (>= 2.4.0rc0, < 2.4.0)
- Projects that depend on PyPI package tensorflow-cpu (>= 2.4.0rc0, < 2.4.0)
- Projects that depend on PyPI package tensorflow-gpu (>= 2.4.0rc0, < 2.4.0)
- Anyone running tensorflow .4.0rc*
Vulnerability facts
- Affected
- tensorflow >= 2.4.0rc0, < 2.4.0; tensorflow-cpu >= 2.4.0rc0, < 2.4.0; tensorflow-gpu >= 2.4.0rc0, < 2.4.0
- Fixed in
- 2.4.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 7.5 (v3.1, NVD)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: None
- Integrity impact: None
- Availability impact: High
- EPSS
- 0.70% chance of exploitation in 30 days (percentile 49, 2026-11-26)
- CWE
- CWE-125
- Modified
Description
In TensorFlow release candidate versions 2.4.0rc*, the general implementation for matching filesystem paths to globbing pattern is vulnerable to an access out of bounds of the array holding the directories. There are multiple invariants and preconditions that are assumed by the parallel implementation of GetMatchingPaths but are not verified by the PRs introducing it (#40861 and #44310). Thus, we are completely rewriting the implementation to fully specify and validate these. This is patched in version 2.4.0. This issue only impacts master branch and the release candidates for TF version 2.4. The final release of the 2.4 release will be patched.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| PyPI tensorflow | >= 2.4.0rc0, < 2.4.0 | 2.4.0 | osv |
| PyPI tensorflow-cpu | >= 2.4.0rc0, < 2.4.0 | 2.4.0 | osv |
| PyPI tensorflow-gpu | >= 2.4.0rc0, < 2.4.0 | 2.4.0 | osv |
| tensorflow | .4.0rc* | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2020-26269. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2020-26269.md Affected: tensorflow >= 2.4.0rc0, < 2.4.0; tensorflow-cpu >= 2.4.0rc0, < 2.4.0; tensorflow-gpu >= 2.4.0rc0, < 2.4.0 Fixed in: 2.4.0 Steps: 1. Search this machine and project for tensorflow (PyPI), tensorflow-cpu (PyPI), tensorflow-gpu (PyPI), tensorflow: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
Patches
Other
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-cpu/PYSEC-2020-300.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow-gpu/PYSEC-2020-335.yaml
- https://github.com/pypa/advisory-database/tree/main/vulns/tensorflow/PYSEC-2020-141.yaml
- https://github.com/tensorflow/tensorflow
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L106
- https://github.com/tensorflow/tensorflow/blob/458c6260265c46ebaf18052d6c61aea4b6b40926/tensorflow/core/platform/file_system_helper.cc#L127
FAQ
Is CVE-2020-26269 being exploited?
There is no confirmed exploitation: CVE-2020-26269 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.70% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2020-26269?
High: CVSS 7.5 (v3.1, scored by NVD). Remote, no login needed.
Which versions are affected by CVE-2020-26269?
tensorflow >= 2.4.0rc0, < 2.4.0; tensorflow-cpu >= 2.4.0rc0, < 2.4.0; tensorflow-gpu >= 2.4.0rc0, < 2.4.0.
Is there a fix for CVE-2020-26269?
Yes. Fixed in 2.4.0. Upgrade tensorflow to 2.4.0 or later. Upgrade tensorflow-cpu to 2.4.0 or later. Upgrade tensorflow-gpu to 2.4.0 or later.
How do I check if I'm affected by CVE-2020-26269?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.