@cgauge/yaml npm package contains an arbitrary code execution vulnerability that allows attackers to execute arbitrary JavaScript by embedding a custom !js YAML tag whose construct callback unconditionally calls eval() on attacker-supplied string values during document parsing. Any application parsing untrusted YAML input with this library exposes full Node.js runtime authority, including environment variable access, filesystem read/write, network access, and subprocess execution, with no safe-mode alternative or opt-out mechanism available.
References
Configurations
No configuration.
History
No history.
Information
Published : 2026-08-20 14:18
Updated : 2026-08-20 15:18
NVD link : CVE-2026-76833
Mitre link : CVE-2026-76833
CVE.ORG link : CVE-2026-76833
JSON object : View
Products Affected
No product.
CWE
CWE-95
Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
