Staging Environment: Content and features may be unstable or change without notice.
Search for packages
Package details: pkg:pypi/pyyaml@5.1
purl pkg:pypi/pyyaml@5.1
Next non-vulnerable version 5.4
Latest non-vulnerable version 5.4
Risk 4.5
Vulnerabilities affecting this package (4)
Vulnerability Summary Fixed by
VCID-2wh2-rac2-53ax
Aliases:
CVE-2020-14343
GHSA-8q59-q68h-6hv4
PYSEC-2021-142
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.
5.4
Affected by 0 other vulnerabilities.
VCID-5y6u-xqht-n3ft
Aliases:
PYSEC-2020-195
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
5.2b1
Affected by 3 other vulnerabilities.
VCID-hrtt-vfbb-87bf
Aliases:
CVE-2020-1747
GHSA-6757-jp84-gxfx
PYSEC-2020-96
A vulnerability was discovered in the PyYAML library in versions before 5.3.1, 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. An attacker could use this flaw to execute arbitrary code on the system by abusing the python/object/new constructor.
5.3.1
Affected by 1 other vulnerability.
VCID-tk2n-xsk7-aqb9
Aliases:
CVE-2019-20477
GHSA-3pqx-4fqf-j49f
PYSEC-2020-176
PyYAML 5.1 through 5.1.2 has insufficient restrictions on the load and load_all functions because of a class deserialization issue, e.g., Popen is a class in the subprocess module. NOTE: this issue exists because of an incomplete fix for CVE-2017-18342.
5.2b1
Affected by 3 other vulnerabilities.
5.2
Affected by 2 other vulnerabilities.
Vulnerabilities fixed by this package (1)
Vulnerability Summary Aliases
VCID-1d4s-2baq-wuhk In PyYAML before 5.1, the yaml.load() API could execute arbitrary code if used with untrusted data. The load() function has been deprecated in version 5.1 and the 'UnsafeLoader' has been introduced for backward compatibility with the function. CVE-2017-18342
GHSA-rprw-h62v-c2w7
PYSEC-2018-49

Date Actor Action Vulnerability Source VulnerableCode Version
2026-04-16T21:21:24.911124+00:00 GitLab Importer Affected by VCID-tk2n-xsk7-aqb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2019-20477.yml 38.4.0
2026-04-16T21:19:28.969596+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.4.0
2026-04-16T21:01:58.852830+00:00 GitLab Importer Affected by VCID-hrtt-vfbb-87bf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-1747.yml 38.4.0
2026-04-16T01:43:29.596760+00:00 GHSA Importer Affected by VCID-tk2n-xsk7-aqb9 https://github.com/advisories/GHSA-3pqx-4fqf-j49f 38.4.0
2026-04-16T01:43:18.832646+00:00 GHSA Importer Affected by VCID-hrtt-vfbb-87bf https://github.com/advisories/GHSA-6757-jp84-gxfx 38.4.0
2026-04-16T01:41:51.234643+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.4.0
2026-04-11T22:33:53.756759+00:00 GitLab Importer Affected by VCID-tk2n-xsk7-aqb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2019-20477.yml 38.3.0
2026-04-11T22:31:47.891714+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.3.0
2026-04-11T22:13:17.511319+00:00 GitLab Importer Affected by VCID-hrtt-vfbb-87bf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-1747.yml 38.3.0
2026-04-11T13:12:42.379293+00:00 GHSA Importer Affected by VCID-tk2n-xsk7-aqb9 https://github.com/advisories/GHSA-3pqx-4fqf-j49f 38.3.0
2026-04-11T13:12:31.036733+00:00 GHSA Importer Affected by VCID-hrtt-vfbb-87bf https://github.com/advisories/GHSA-6757-jp84-gxfx 38.3.0
2026-04-11T13:10:57.294013+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.3.0
2026-04-02T22:45:00.010973+00:00 GitLab Importer Affected by VCID-tk2n-xsk7-aqb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2019-20477.yml 38.1.0
2026-04-02T22:43:07.764644+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.1.0
2026-04-02T22:25:39.052492+00:00 GitLab Importer Affected by VCID-hrtt-vfbb-87bf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-1747.yml 38.1.0
2026-04-02T14:04:09.036681+00:00 GHSA Importer Affected by VCID-tk2n-xsk7-aqb9 https://github.com/advisories/GHSA-3pqx-4fqf-j49f 38.1.0
2026-04-02T14:03:58.964545+00:00 GHSA Importer Affected by VCID-hrtt-vfbb-87bf https://github.com/advisories/GHSA-6757-jp84-gxfx 38.1.0
2026-04-02T14:02:37.400115+00:00 GHSA Importer Affected by VCID-2wh2-rac2-53ax https://github.com/advisories/GHSA-8q59-q68h-6hv4 38.1.0
2026-04-01T17:02:57.596004+00:00 GitLab Importer Affected by VCID-tk2n-xsk7-aqb9 https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2019-20477.yml 38.0.0
2026-04-01T17:00:50.970294+00:00 GitLab Importer Affected by VCID-2wh2-rac2-53ax https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-14343.yml 38.0.0
2026-04-01T16:43:34.863099+00:00 GitLab Importer Affected by VCID-hrtt-vfbb-87bf https://gitlab.com/gitlab-org/advisories-community/-/blob/main/pypi/PyYAML/CVE-2020-1747.yml 38.0.0
2026-04-01T15:03:25.172473+00:00 PyPI Importer Affected by VCID-2wh2-rac2-53ax https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:01:31.891173+00:00 PyPI Importer Affected by VCID-tk2n-xsk7-aqb9 https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:01:31.852658+00:00 PyPI Importer Affected by VCID-5y6u-xqht-n3ft https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T15:00:18.885791+00:00 PyPI Importer Fixing VCID-1d4s-2baq-wuhk https://osv-vulnerabilities.storage.googleapis.com/PyPI/all.zip 38.0.0
2026-04-01T12:43:18.062893+00:00 Pypa Importer Affected by VCID-2wh2-rac2-53ax https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2021-142.yaml 38.0.0
2026-04-01T12:42:24.121281+00:00 Pypa Importer Affected by VCID-hrtt-vfbb-87bf https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-96.yaml 38.0.0
2026-04-01T12:42:15.456564+00:00 Pypa Importer Affected by VCID-tk2n-xsk7-aqb9 https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2020-176.yaml 38.0.0
2026-04-01T12:41:45.372522+00:00 Pypa Importer Fixing VCID-1d4s-2baq-wuhk https://github.com/pypa/advisory-database/blob/main/vulns/pyyaml/PYSEC-2018-49.yaml 38.0.0