Arbitrary Code Execution Vulnerability in PyYAML Library

Patch this weekFull system takeover over the network, no login needed.
9.8CRITICAL

Key Information:

Vendor

Red Hat

Status
CVE ID
CVE ID:
CVE-2020-1747
Vendor
CVE Published:
24 March 2020

Timeline

  • Vulnerability published

  • Vulnerability Reserved

How risky is it?

  • Yes: Works over the network, no login needed
  • No: No public exploit yet
  • No: Not on CISA's exploited list
  • No: No ransomware use seen

Our verdict

Patch this week

Exploitation is likely. Prioritise the fix.

What to do

1Check the vendor's fix

No fixed version is recorded yet. The vendor advisory is the authoritative source for patches.

Read the vendor advisory β†—
2Can't patch yet? Reduce exposure

It can be reached over the network, so limit who can reach Pyyaml. Block it from the internet, allow only trusted hosts or a VPN, and turn off the affected feature if you don't use it, until you can update.

3Why it's rated "Patch this week"
  • It can be exploited remotely without credentials.
  • Its CVSS severity is critical (9.8).

What is CVE-2020-1747?

A vulnerability exists in the PyYAML library prior to version 5.3.1, allowing for arbitrary code execution when handling untrusted YAML files via the full_load method or using the FullLoader loader. This issue stems from the improper handling of untrusted input, potentially enabling attackers to exploit the python/object/new constructor and execute arbitrary code on affected systems. Applications that rely on this library for YAML processing without proper sanitization measures may be particularly vulnerable.

Affected Version(s)

PyYAML 5.3.1

References

Arbitrary Command Execution Vulnerability in Ghostscript Software

CVE-2026-101258
Red HatRed Hat Enterprise Lin...7.8HIGH

Use-After-Free Flaw in Librsvg Affects GNOME's SVG Processing Tool

CVE-2026-96889
Red HatRed Hat Enterprise Lin...πŸ˜„πŸ‘Ύ7.8HIGH

Time-based sudo vulnerability in Sudo

CVE-2026-96512
Red HatRed Hat Enterprise Lin...7.8HIGH
View more Red Hat vulnerabilities...

Facts on this page come from the sources listed above; the writeup is AI-assisted. How we rate vulnerabilities Β· Report a correction

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged
.