Remote Code execution in SnakeYAML
Noroxi assessment
Priority: This week (action score 69/100)
- A ready-made attack module is public (Metasploit); exploiting it takes no special expertise.
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 99.5% (FIRST EPSS); higher than 99.9% of all records.
- Anyone who can reach it over the internet can trigger it. No account or password is required. No user action is required. No special conditions are required; it is repeatable.
- Fixed version: SnakeYAML SnakeYAML 2.0.
- Mentioned 2 times in Turkish national cyber security advisories (siberguvenlik.gov.tr).
Don’t wait for the next maintenance window. Upgrade to SnakeYAML SnakeYAML 2.0 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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
- Dec 1, 2022
- Updated
- Jun 17, 2026
- EPSS
- 99.5% · 99th percentile
- CWE
- CWE-20
Report tools
Action score
69
This week
Don’t wait for the next maintenance window.
- CVSS
- 39 / 40 · 9.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 30 / 30 · 99.5%
CISA SSVC decision
- Exploitation
- proof of concept
- Automatable
- no
- Technical impact
- total
Vulnrichment: CISA's decision-tree inputs.
CNA vs NVD score
- NVD
- 9.8
- CNA · Google
- 8.3
- 1.5 point gap
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L
The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Weaponized exploit exists
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| snakeyaml project | snakeyaml | cpe:2.3:a:snakeyaml_project:snakeyaml |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- snakeyaml project snakeyamlbefore 2.0
Versions reported by the vendor
Affected version ranges reported by the assigning authority (Google). Independent of NVD's CPE analysis and usually ahead of it.
SnakeYAML SnakeYAML
- up to and including 2.0affected
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| AlmaLinux:8 | prometheus-jmx-exporter | before 0.12.0-9.el8_7 | 0.12.0-9.el8_7 |
| AlmaLinux:8 | prometheus-jmx-exporter-openjdk11 | before 0.12.0-9.el8_7 | 0.12.0-9.el8_7 |
| AlmaLinux:8 | prometheus-jmx-exporter-openjdk17 | before 0.12.0-9.el8_7 | 0.12.0-9.el8_7 |
| AlmaLinux:8 | prometheus-jmx-exporter-openjdk8 | before 0.12.0-9.el8_7 | 0.12.0-9.el8_7 |
| Debian:12 | snakeyaml | from 0 | — |
| Maven | org.yaml:snakeyaml | before 2.0 | 2.0 |
| Red Hat:enterprise_linux:8::appstream | prometheus-jmx-exporter | before 0:0.12.0-9.el8_7 | 0:0.12.0-9.el8_7 |
| Red Hat:enterprise_linux:8::appstream | prometheus-jmx-exporter-openjdk11 | before 0:0.12.0-9.el8_7 | 0:0.12.0-9.el8_7 |
| Red Hat:enterprise_linux:8::appstream | prometheus-jmx-exporter-openjdk17 | before 0:0.12.0-9.el8_7 | 0:0.12.0-9.el8_7 |
| Red Hat:enterprise_linux:8::appstream | prometheus-jmx-exporter-openjdk8 | before 0:0.12.0-9.el8_7 | 0:0.12.0-9.el8_7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf | before 0:3.1.16-4.redhat_00003.1.ep7.el7 | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-rt | before 0:3.1.16-4.redhat_00003.1.ep7.el7 | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-services | before 0:3.1.16-4.redhat_00003.1.ep7.el7 | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-apache-cxf-tools | before 0:3.1.16-4.redhat_00003.1.ep7.el7 | 0:3.1.16-4.redhat_00003.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jackson-databind | before 0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 | 0:2.8.11.6-2.SP1_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-jettison | before 0:1.3.8-2.redhat_00002.1.ep7.el7 | 0:1.3.8-2.redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-netty | before 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 | 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-netty-all | before 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 | 0:4.1.63-1.Final_redhat_00002.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy-atom-provider | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy-cdi | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy-client | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy-crypto | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
| Red Hat:jboss_enterprise_application_platform_eus:7.1::el7 | eap7-resteasy-jackson-provider | before 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 | 0:3.0.27-1.Final_redhat_00001.1.ep7.el7 |
+96
Same product
snakeyaml project: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-18640The Alias feature in SnakeYAML before 1.26 allows entity expansion during a load operation, a related issue to CVE-2003-1564.38Monitor
- CVE-2022-25857Denial of Service (DoS)31Monitor
- CVE-2022-38752Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS).27Monitor
Published before and after this one in the same product
- ← EarlierCVE-2022-38750Sep 5, 2022 · Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS).22Monitor
- ← EarlierCVE-2022-38751Sep 5, 2022 · Using snakeYAML to parse untrusted YAML files may be vulnerable to Denial of Service attacks (DOS).27Monitor
- ← EarlierCVE-2022-41854Nov 11, 2022 · Stack Overflow in Snakeyaml26Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| SnakeYAML SnakeYAML | 2.0 · description | Vendor (CNA) |
| almalinux:prometheus-jmx-exporter | 0.12.0-9.el8_7 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:prometheus-jmx-exporter-openjdk11 | 0.12.0-9.el8_7 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:prometheus-jmx-exporter-openjdk17 | 0.12.0-9.el8_7 · AlmaLinux:8 | Package registry (OSV) |
| almalinux:prometheus-jmx-exporter-openjdk8 | 0.12.0-9.el8_7 · AlmaLinux:8 | Package registry (OSV) |
| Maven:org.yaml:snakeyaml | 2.0 | Package registry (OSV) |
| red hat:eap7-activemq-artemis-native | 1:1.0.2-3.redhat_00004.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-snakeyaml | 0:1.33.0-2.SP1_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-undertow | 0:2.2.23-1.SP2_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:eap7-undertow-jastow | 0:2.0.14-1.Final_redhat_00001.1.el7eap · Red Hat:jboss_enterprise_application_platform:7.4::el7 | Package registry (OSV) |
| red hat:jenkins | 0:2.361.1.1675406172-1.el8 · Red Hat:openshift:4.10::el8 | Package registry (OSV) |
| red hat:jenkins-2-plugins | 0:4.10.1675407676-1.el8 · Red Hat:openshift:4.10::el8 | Package registry (OSV) |
| red hat:prometheus-jmx-exporter | 0:0.12.0-9.el8_7 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:prometheus-jmx-exporter-openjdk11 | 0:0.12.0-9.el8_7 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:prometheus-jmx-exporter-openjdk17 | 0:0.12.0-9.el8_7 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:prometheus-jmx-exporter-openjdk8 | 0:0.12.0-9.el8_7 · Red Hat:enterprise_linux:8::appstream | Package registry (OSV) |
| red hat:rh-sso7-keycloak | 0:18.0.6-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7 | Package registry (OSV) |
| red hat:rh-sso7-keycloak-server | 0:18.0.6-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7 | Package registry (OSV) |
| rocky linux:prometheus-jmx-exporter | 0:0.12.0-9.el8_7 · Rocky Linux:8 | Package registry (OSV) |
Exploit status
Weaponized
A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.
Evidence
- Metasploit module ×1
- Proof-of-concept repository on GitHub ×7
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Metasploit module | exploit/multi/http/torchserver_cve_2023_43654PyTorch Model Server Registration and Deserialization RCEexploit | 2023-10-03 |
| Proof-of-concept repository on GitHub | stars:8 | 2023-03-02 |
| Proof-of-concept repository on GitHub | stars:4 | 2023-05-08 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-02-05 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-02-26 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-06-01 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-07-17 |
| Proof-of-concept repository on GitHub | stars:0 | 2026-08-15 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- Published
- First PoC+91 d
- Metasploit+306 d
- TodayOct 21, 2026+1420 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
National notice (Türkiye Cybersecurity Directorate / USOM)
Official security notices citing this record; remediation advice is on the agency's page.
- TR-23-0677 · Dec 6, 2023(Atlassian Güvenlik Bildirimi)
- TR-23-0275 · May 18, 2023(Jenkins Güvenlik Güncellemesi)
Technical details
Attack conditions
- Anyone who can reach it over the internet can trigger it.
- No account or password is required.
- No user action is required.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-20 · Improper Input ValidationCVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10likelihood: High · High
- Server Side Include (SSI) InjectionCAPEC-101likelihood: High · High
- Cross Zone ScriptingCAPEC-104likelihood: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108likelihood: Low · Very High
- Object Relational Mapping InjectionCAPEC-109likelihood: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110likelihood: High · Very High
- Double EncodingCAPEC-120likelihood: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13likelihood: High · Very High
ATT&CK techniques
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (7 more)Show less
- www.openwall.com/lists/oss-security/2023/11/19/1
- bitbucket.org/snakeyaml/snakeyaml/issues/561/cve-2022-1471-vulnerability-in#comment-64581479
- confluence.atlassian.com/security/cve-2022-1471-snakeyaml-library-rce-vulnerability-in-multiple-products-1296171009.html
- groups.google.com/g/kubernetes-security-announce/c/mwrakFaEdnc
- infosecwriteups.com/%EF%B8%8F-inside-the-160-comment-fight-to-fix-snakeyamls-rce-default-1a20c5ca4d4c
- security.netapp.com/advisory/ntap-20230818-0015/
- security.netapp.com/advisory/ntap-20240621-0006/
Vendor advisories and official records. Exploit/PoC links are deliberately left out.