CVE-2022-1471 HIGH

CVE-2022-1471: Remote Code execution in SnakeYAML

Vendor Snakeyaml
Product SnakeYAML
Weakness CWE-20 · Input validation
Published December 1, 2022
Last update June 18, 2025

CVSS base score

8.3/10
Attack vector Network
Attack complexity Low
Privileges required Low
User interaction None
Confidentiality High
Integrity High

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L

What the vulnerability does

01Description

SnakeYaml's Constructor() class does not restrict types which can be instantiated during deserialization. Deserializing yaml content provided by an attacker can lead to remote code execution. We recommend using SnakeYaml's SafeConsturctor when parsing untrusted content to restrict deserialization. We recommend upgrading to version 2.0 and beyond.

Key dates

02Disclosure timeline

December 1, 2022 CVE published
June 18, 2025 Record updated