CVE-2022-1471 | Remote Code execution in SnakeYAML

Exp

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.

Published: 2022-12-01 Last update: 2026-06-17 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-1471 is rated High Exploit Risk (88.2/100): CVSS High severity, with high exploitation likelihood (EPSS 99.61%, 100th percentile). Core evidence: 3 public exploit reference(s) are indexed (Exploit-DB). EPSS rose +5.82% over the last day, indicating growing attacker interest. Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2022-1471

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2022-1471

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-06-15 93.80% 99.61% +5.82%
2 2026-04-30 94.12% 93.80% -0.33%
3 2026-04-28 94.12%

Full EPSS history (27 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-1471

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
8.3 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 5.5 [email protected]
9.8 3.1 CRITICAL
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:H)
Could take the service down hard or make it unusable for people who depend on it.
3.9 5.9 [email protected]

Weakness enumeration for CVE-2022-1471

GitHub Security Advisory for CVE-2022-1471

GHSA-mjmj-j48q-9wg2 · Severity: high · Ecosystem: maven — SnakeYaml Constructor Deserialization Remote Code Execution

OS Trackers for CVE-2022-1471

vendor priority summary link
debian unimportant CVE-2022-1471 unimportant priority: Debian including 1 source packages (snakeyaml), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. https://security-tracker.debian.org/tracker/CVE-2022-1471
redhat high https://access.redhat.com/security/cve/CVE-2022-1471
suse high CVE-2022-1471 severity important: SUSE including 11 source package names (jackson-dataformat-csv-2.15.2-1.1, jackson-dataformat-properties-2.15.2-1.1, …), 23 product×package rows across 15 product lines (SUSE Enterprise Storage 7, SUSE Enterprise Storage 7.1, … (15 product lines)): Known Not Affected 13, Fixed 10. https://www.suse.com/security/cve/CVE-2022-1471/
ubuntu medium CVE-2022-1471 medium priority: Ubuntu including 1 source packages (snakeyaml), 11 status rows across 11 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, trusty, upstream, xenial): ignored 10, released 1. https://ubuntu.com/security/CVE-2022-1471

Affected software / configurations for CVE-2022-1471

Vendor Product Version Raw CPE
snakeyaml_project snakeyaml < 2.0 cpe:2.3:a:snakeyaml_project:snakeyaml:*:*:*:*:*:*:*:*

References for CVE-2022-1471

URL Tags
http://packetstormsecurity.com/files/175095/PyTorch-Model-Server-Registration-Deserialization-Remote-Code-Execution.html
http://www.openwall.com/lists/oss-security/2023/11/19/1
https://bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479 Issue Tracking Third Party Advisory
https://confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html
https://github.com/google/security-research/security/advisories/GHSA-mjmj-j48q-9wg2 Exploit Third Party Advisory
https://github.com/mbechler/marshalsec Exploit Third Party Advisory
https://groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
https://infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c
https://security.netapp.com/advisory/ntap-20230818-0015/
https://security.netapp.com/advisory/ntap-20240621-0006/
https://www.github.com/mbechler/marshalsec/blob/master/marshalsec.pdf?raw=true Exploit Third Party Advisory
cvelogic Threat Intelligence