CVE-2020-14343Pyyaml
Critical 9.8 No auth needed
Follow: this CVE · Pyyaml · Pyyaml We alert you by email or Slack (account required).
- Priority
- 74
- CVSS 3.1
- 9.8
- EPSS
- 6.2% probability of exploitation in 30 days · percentile 94
- Auth required
- No
- Published
- Feb 9, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
What happens
A vulnerability was discovered in the PyYAML library in versions before 5.4, where it is susceptible to arbitrary code execution when it processes untrusted YAML files through the full_load method or with the FullLoader loader. Applications that use the library to process untrusted input may be vulnerable to this flaw. This flaw allows an attacker to execute arbitrary code on the system by abusing the python/object/new constructor. This flaw is due to an incomplete fix for CVE-2020-1747.
What to do
- Apply the vendor's security update for Pyyaml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| PyPI | pyyaml |
< 5.4 |
5.4 |
pip install "pyyaml>=5.4" |
| PyPI | pyyaml |
< 5.4 |
5.4 |
pip install "pyyaml>=5.4" |
Per OSV / GitHub Advisories (GHSA-8q59-q68h-6hv4, PYSEC-2021-142). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| pyyaml | pyyaml | ≥ 5.1 < 5.4 |
| oracle | communications_cloud_native_core_network_function_cloud_native_environment | 1.10.0 |
| oracle | communications_cloud_native_core_network_function_cloud_native_environment | 22.1.0 |
Official advisories
- python313-PyYAML-6.0.3-1.6 on GA media · SUSE · openSUSE-SU-2026:11996-1 · Oct 4, 2026 Critical
- Security update for python-PyYAML · SUSE · SUSE-SU-2026:4402-1 · Sep 30, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- github.com
- github.com
- www.oracle.com Patch Third Party Advisory
- www.oracle.com Patch Third Party Advisory