CVE-2026-76833
@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
@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.
| CWE | CWE-95 |
| Vendor | cgauge |
| Product | @cgauge/yaml |
| Published | Aug 20, 2026 |
| Last Updated | Aug 20, 2026 |
Stay Ahead of the Next One
Get instant alerts for cgauge @cgauge/yaml
Be the first to know when new high vulnerabilities affecting cgauge @cgauge/yaml are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
cgauge / @cgauge/yaml
0 โค 0.27.0
References
Credits
Arjun Jain