What’s Vulnerable › Vulnerabilities
CVE-2026-76833: @cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-08-20 · updated 2026-10-18
- Weakness: CWE-95
Description
@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.
Affected products
- cgauge @cgauge/yaml: through 0.27.0
References
- https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba
- https://github.com/cgauge/packages
- https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag
- https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba
Get alerted when CVE-2026-76833 or the next vulnerability affects your stack