一线运维实战手记 · 云计算 · 数据库 · 故障排查
2026年9月4日

CVE-2026-76833 [HIGH] – @cgauge/yaml npm package contains an arbitrary code execution vulnerability that allows at

未分类
📑 文章目录

@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.