Vulnerabilities

Vulnerability · CVE-2022-1471

snakeyaml_project snakeyaml Improper Input Validation

Published Dec 1, 2022 · catalog updated Oct 26, 2026 · snakeyaml project

Last checked Oct 30, 2026. A connected source was read within the last 7 days.

Patch now

CVE-2022-1471 is in the CISA known-exploited catalog. Confirm snakeyaml project against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Severity
Critical9.8
Known exploitation
CISA KEV and VulnCheck KEV
EPSS
99.50%
Remediation
Remediation guidance
Affected products
cpe snakeyaml project/snakeyaml · vendor snakeyaml_project snakeyaml

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. VulnCheck canary evidence. Initial-access exploit intelligence.

Are you affected?

Enter the version you run. The result uses only the ranges stored on this record.

The check returns affected, not affected, or incomplete. It does not guess a version that is missing from the record.

  • cpe snakeyaml project/snakeyaml< 2.0
  • vendor snakeyaml_project snakeyamlversion unspecified

How to fix CVE-2022-1471

What to do

Three questions, each answered from this record only. Confirm the vendor advisory before you patch.

Should you patch?

CVE-2022-1471 is in the CISA known-exploited catalog. Confirm snakeyaml project against the vendor advisory and apply that fix. The CVSS score does not change the priority.

Which versions are affected?

Compare what you have installed with snakeyaml project/snakeyaml < 2.0. Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

What should an analyst verify?

CWE-20: Improper Input Validation; CWE-502: Deserialization of Untrusted Data. EPSS 99.50%. The CISA KEV listing is the exploitation evidence. A public exploit reference is linked in Sources. That is not the same as confirmed exploitation. Use the source links for the original advisory.

Code

The project this record applies to. Exploit listings stay in References.

Timeline

Detection, updates, and resolution for this record.

  1. Oct 26, 2026 · VulnCheck KEV

    Detected

    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. VulnCheck canary evidence. Initial-access exploit i

  2. Oct 26, 2026 · CISA KEV

    Known exploited

    Apply remediations or mitigations per vendor instructions or discontinue use of the product if remediation or mitigations are unavailable.

Sources

  • CVE.orgVulnerability recordCVE-2022-1471

    Official CVE identifier

    cve.org
  • Metasploit ModulesPublic exploit moduleexploit_multi/http/torchserver_cve_2023_43654

    Public module reference (excellent). Module source is not copied into this catalog.

    rapid7.com
  • NIST NVDVulnerability recordCVE-2022-1471

    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 restric

    nvd.nist.gov
  • Packet Storm SecurityCited referencehttp://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html

    Packet Storm link already published on the finding.

    packetstormsecurity.com
  • VulnCheck KEVConfirmed exploitationCVE-2022-1471

    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 restric

    vulncheck.com

References

Freshness

Last verified in this catalog Oct 29, 2026. Significant claims (KEV, EPSS, CVSS, affected ranges) come from the source rows above — open the original publisher for the authoritative advisory.

  • Packet Storm SecurityOct 30, 2026
  • Metasploit ModulesOct 29, 2026
  • CVE.orgOct 27, 2026
  • NIST NVDOct 26, 2026
  • VulnCheck KEVOct 26, 2026