@cgauge/yaml npm package contains an arbitrary code...
High severity
Unreviewed
Published
Aug 20, 2026
to the GitHub Advisory Database
•
Updated Aug 20, 2026
Description
Published by the National Vulnerability Database
Aug 20, 2026
Published to the GitHub Advisory Database
Aug 20, 2026
Last updated
Aug 20, 2026
@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