{"id":"CVE-2026-76833","aliases":["CVE-2026-76833"],"related":[],"kind":"vulnerability","state":"published","title":"@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag","summary":"@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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"@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.","source":"cvelist"},{"lang":"es","text":"El paquete npm @cgauge/yaml contiene una vulnerabilidad de ejecución de código arbitrario que permite a los atacantes ejecutar JavaScript arbitrario incrustando una etiqueta YAML personalizada !js cuyo callback de construcción llama incondicionalmente a eval() sobre valores de cadena proporcionados por el atacante durante el análisis del documento. Cualquier aplicación que analiza entrada YAML no confiable con esta biblioteca expone la autoridad completa del tiempo de ejecución de Node.js, incluyendo acceso a variables de entorno, lectura/escritura del sistema de archivos, acceso a la red y ejecución de subprocesos, sin alternativa de modo seguro o mecanismo de exclusión voluntaria disponible.","source":"nvd"}],"published":"2026-08-20T13:33:14.674Z","modified":"2026-10-18T20:10:00.110Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.4,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","score":8.4,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-95"],"affected":[{"ranges":[{"type":"custom","introduced":"0","lastAffected":"0.27.0","status":"affected"}],"vendor":"cgauge","product":"@cgauge/yaml","source":"cvelist"}],"references":[{"url":"https://github.com/cgauge/packages","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba","tags":["exploit","technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Arjun Jain"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2026-08-20T14:28:52.031Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-76833","url":"https://www.cve.org/CVERecord?id=CVE-2026-76833","licence":"CVE Terms of Use","modified":"2026-08-20T14:29:17.384Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-76833","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76833","licence":"Public domain","modified":"2026-10-18T20:10:00.110Z"}],"updatedAt":"2026-11-25T22:59:34.632Z","epss":{"score":0.00219,"percentile":0.13234,"date":"2026-12-01T12:00:22.000Z"}}