YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Code execution, Security bypass
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub. Impact type from CWE-502 and CWE-639.
Summary
YamlDotNet version 4.3.2 and earlier contains a Insecure Direct Object Reference vulnerability in The default behavior of Deserializer.Deserialize() will deserialize user-controlled types in the line "currentType = Type.GetType(nodeEvent.Tag.Substring(1), throwOnError: false);" and blindly instantiates them. that can result in Code execution in the context of the running process. This attack appear to be exploitable via Victim must parse a specially-crafted YAML file. This vulnerability appears to have been fixed in 5.0.0.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | YamlDotNet (NuGet) | before 5.0.0 | 5.0.0 | Patch available | GHSA-rpch-cqj9-h65r |
| — | YamlDotNet.Signed (NuGet) | before 5.0.0 | 5.0.0 | Patch available | GHSA-rpch-cqj9-h65r |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- YamlDotNet (NuGet) Vendor— Affected before 5.0.0 Fixed in 5.0.0 Patch available GHSA-rpch-cqj9-h65r
- YamlDotNet.Signed (NuGet) Vendor— Affected before 5.0.0 Fixed in 5.0.0 Patch available GHSA-rpch-cqj9-h65r
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:yamldotnet_project:yamldotnet:*:*:*:*:*:*:*:* | up to 4.3.2 | Vulnerable | Yamldotnet Project |
- cpe:2.3:a:yamldotnet_project:yamldotnet:*:*:*:*:*:*:*:* Versions up to 4.3.2 Vulnerable ·Yamldotnet Project
Remediation
- Fix · GHSA-rpch-cqj9-h65r YamlDotNet (NuGet) Fixed in 5.0.0 Advisory →
- Fix · GHSA-rpch-cqj9-h65r YamlDotNet.Signed (NuGet) Fixed in 5.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-1000210
- 2026-10-03 Alias added: GHSA-rpch-cqj9-h65r
References
Advisory 4
- https://github.com/aaubry/YamlDotNet#version-500
- https://github.com/aaubry/YamlDotNet/blob/f96b7cc40a0498f8bafdeb49df3aa23aa2c60993/YamlDotNet/Serialization/NodeTypeResolvers/TypeNameInTagNodeTypeResolver.cs#L35
- https://nvd.nist.gov/vuln/detail/CVE-2018-1000210
- https://github.com/advisories/GHSA-rpch-cqj9-h65r
Sources
- CVE-2018-1000210 · CVE Program
- CVE-2018-1000210 · NVD
- FIRST EPSS
- GHSA-rpch-cqj9-h65r · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences