Home / python / python / CVE-2021-3426
CVE-2021-3426: is it exploited, and which versions of python are affected and fixed?
CVE-2021-3426 is an information disclosure vulnerability in python. 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, 14:38 UTC). Affected: python python 3.8.9, python 3.9.3, python 3.10.0a7 (CVE record by redhat). Fixed in 2.7.18, 3.6.13, 3.7.10, 3.8.8 and 1 more (NVD). Severity: Medium (5.7, CVSS 3.1, from CISA-ADP).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 14:38 UTC, CVE record November 19, 2026, 07:15 UTC and NVD November 19, 2026, 07:58 UTC.
What is CVE-2021-3426?
There's a flaw in Python 3's pydoc. A local or adjacent attacker who discovers or is able to convince another local or adjacent user to start a pydoc server could access the server and use it to disclose sensitive information belonging to the other user that they would not normally be able to access. The highest risk of this flaw is to data confidentiality. This flaw affects Python versions before 3.8.9, Python versions before 3.9.3 and Python versions before 3.10.0a7.
From the CVE record by redhat, last updated October 14, 2026, 09:49 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| python | python 3.8.9, python 3.9.3, python 3.10.0a7 |
As the CVE record by redhat states it, last updated October 14, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| python | python | before 2.7.18 | application |
| python | python | from 3.6.0 before 3.6.13 | application |
| python | python | from 3.7.0 before 3.7.10 | application |
| python | python | from 3.8.0 before 3.8.8 | application |
| python | python | from 3.9.0 before 3.9.3 | application |
| python | python | 3.10.0 | application |
| fedoraproject | fedora | 32 | operating system |
| fedoraproject | fedora | 33 | operating system |
| fedoraproject | fedora | 34 | operating system |
| debian | debian linux | 9.0 | operating system |
| redhat | software collections | all versions | application |
| redhat | enterprise linux | 8.0 | operating system |
| netapp | cloud backup | all versions | application |
| netapp | ontap select deploy administration utility | all versions | application |
| netapp | snapcenter | all versions | application |
| oracle | communications cloud native core binding support function | 1.10.0 | application |
| oracle | zfs storage appliance kit | 8.8 | application |
NVD analysis (status Modified), last modified October 14, 2026, 10:17 UTC.
How severe is CVE-2021-3426?
| Score | Version | Vector | Source |
|---|---|---|---|
| Medium 5.7 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | CISA-ADP |
| Medium 5.7 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N | NVD |
| Low 2.7 | CVSS 2.0 | AV:A/AC:L/Au:S/C:P/I:N/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-3426 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, December 18, 2025)
- EPSS
- 1.86% probability of exploitation activity in the next 30 days, percentile 79.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-200 Exposure of Sensitive Information to an Unauthorized Actor
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory
Where are the vendor advisories and references?
- [debian-lts-announce] 20210405 [SECURITY] [DLA 2619-1] python3.5 security update mailing-list
- FEDORA-2021-a311bf10d4 vendor-advisory
- FEDORA-2021-2ab6f060d9 vendor-advisory
- FEDORA-2021-1769a23935 vendor-advisory
- FEDORA-2021-b6b6093b3a vendor-advisory
- FEDORA-2021-067c9deff1 vendor-advisory
- FEDORA-2021-0a8f3ffbc0 vendor-advisory
- FEDORA-2021-a26257ccf5 vendor-advisory
- GLSA-202104-04 vendor-advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1935913
- https://www.oracle.com/security-alerts/cpuoct2021.html
- https://security.netapp.com/advisory/ntap-20210629-0003/
- https://www.oracle.com/security-alerts/cpujan2022.html
- [debian-lts-announce] 20230630 [SECURITY] [DLA 3477-1] python3.7 security update mailing-list
- https://lists.debian.org/debian-lts-announce/2024/12/msg00000.html
- https://cert-portal.siemens.com/productcert/html/ssa-398330.html
When was it published, and where is the official record?
- Reserved
- March 9, 2021
- Published
- May 20, 2021, 00:00 UTC
- CVE record updated
- October 14, 2026, 09:49 UTC by redhat
- NVD
- Modified, last modified October 14, 2026, 10:17 UTC
- Last checked
- CVE list November 19, 2026, 07:15 UTC; NVD November 19, 2026, 07:58 UTC; KEV December 3, 2026, 14:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect python?
- Aug 25, 2023CVE-2023-40217 Python: n/a
- Aug 23, 2023CVE-2023-41105 Python: untrusted Search Path
- Aug 22, 2023CVE-2022-48566 Python: race condition
- Aug 22, 2023CVE-2022-48565 Python: XML external entity (XXE)
- Aug 22, 2023CVE-2022-48564 Python: denial of service (uncontrolled resource consumption)
- Aug 22, 2023CVE-2022-48560 Python: use after free
- Aug 15, 2023CVE-2023-38898 Python: n/a disputed
- Jun 25, 2023CVE-2023-36632 Python: uncontrolled recursion disputed
Questions about CVE-2021-3426
Is CVE-2021-3426 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 14:38 UTC. FIRST's EPSS gives it a 1.86% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of python are affected by CVE-2021-3426?
python python 3.8.9, python 3.9.3, python 3.10.0a7, per the CVE record by redhat. The tables above give every range the sources list.
Which version fixes CVE-2021-3426?
2.7.18, 3.6.13, 3.7.10, 3.8.8 and 3.9.3, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2021-3426?
Medium (5.7, CVSS 3.1, from CISA-ADP). The severity table above shows each score with its source.
Where is the official record of CVE-2021-3426?
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.