CVE-2022-1471

published 1 Dec 2022 · updated 18 Jun 2025

Remote Code execution in SnakeYAML

9.3CriticalCVSS 8.3EPSS 100%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 100%. No fixed version is recorded.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
SnakeYaml<=2.0

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2022-1471 severity on Zeptric[![CVE-2022-1471](https://zeptric.io/badge/cve/CVE-2022-1471.svg)](https://zeptric.io/cve/CVE-2022-1471)