CVE-2022-1471: Snakeyaml Project Snakeyaml

Critical severity, CVSS 9.8. EPSS: 54% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for the versions it affects. If you run one, update to it.

  • Snakeyaml Project Snakeyaml, before 2.0: fixed in 2.0

Affected products

Affected packages

Published 2022-12-01. Last modified 2026-06-17.