{"id":"CVE-2026-76833","summary":"@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag","details":"@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.","modified":"2026-08-22T03:49:48.204189459Z","published":"2026-08-20T13:33:14.674Z","database_specific":{"cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76833.json","cna_assigner":"VulnCheck"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/76xxx/CVE-2026-76833.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-76833"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag"},{"type":"PACKAGE","url":"https://github.com/cgauge/packages"},{"type":"ARTICLE","url":"https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/cgauge/packages","events":[{"introduced":"0"},{"last_affected":"3587ef66d4862540ed86fc6072b3e08406e1b227"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"last_affected":"0.27.0"}],"source":"AFFECTED_FIELD"}}],"versions":["0.27.0","0.26.0","0.25.0","0.24.0","0.23.0","0.22.0","0.21.0","0.20.0","0.19.0","0.18.0","0.17.3","0.17.2","0.17.1","0.17.0","0.16.0","0.15.4","0.15.3","0.15.2","0.15.1","0.15.0","0.14.0","0.13.0","0.12.1","0.12.0","0.11.0","0.10.7","0.10.6","0.10.5","0.10.4","0.10.3","0.10.2","0.10.1","0.10.0","0.9.0","0.8.2","0.8.1","0.8.0","0.7.1","0.7.0","0.6.0","0.5.0","0.4.0","0.3.1","0.3.0","0.2.2","0.2.1","0.2.0","0.1.5","0.1.4","0.1.3","0.1.2","0.1.1","0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-76833.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}