{"id":"CVE-2026-76833","state":"PUBLISHED","title":"@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag","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.","publishedAt":"2026-08-20T13:33:14.674Z","updatedAt":"2026-08-20T14:29:17.384Z","severity":{"score":8.4,"label":"High","version":"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","source":"VulnCheck"},"assigner":"VulnCheck","products":["cgauge @cgauge/yaml"],"affected":[{"vendor":"cgauge","product":"@cgauge/yaml","packageURL":"pkg:cargo/dua-cli","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.27.0","versionType":"custom"}]}],"references":["https://github.com/cgauge/packages","https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba","https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag"],"weaknesses":["CWE-95"],"ingestedAt":"2026-10-29T20:12:58.252Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/76xxx/CVE-2026-76833.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-76833","state":"PUBLISHED","datePublished":"2026-08-20T13:33:14.674Z","dateUpdated":"2026-08-20T14:29:17.384Z","assignerShortName":"VulnCheck","assignerOrgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateReserved":"2026-08-19T20:34:00.154Z"},"containers":{"cna":{"title":"@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag","descriptions":[{"lang":"en","value":"@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":[{"vendor":"cgauge","product":"@cgauge/yaml","packageURL":"pkg:cargo/dua-cli","defaultStatus":"affected","versions":[{"version":"0","status":"affected","lessThanOrEqual":"0.27.0","versionType":"custom"}]}],"references":[{"url":"https://github.com/cgauge/packages","tags":["product"],"name":"GitHub Repository"},{"url":"https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba","tags":["technical-description"],"name":"GitHub GIST"},{"url":"https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag","tags":["third-party-advisory"]}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV4_0":{"attackVector":"LOCAL","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"ACTIVE","vulnConfidentialityImpact":"HIGH","subConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","subIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subAvailabilityImpact":"NONE","exploitMaturity":"NOT_DEFINED","Safety":"NOT_DEFINED","Automatable":"NOT_DEFINED","Recovery":"NOT_DEFINED","valueDensity":"NOT_DEFINED","vulnerabilityResponseEffort":"NOT_DEFINED","providerUrgency":"NOT_DEFINED","version":"4.0","baseSeverity":"HIGH","baseScore":8.4,"vectorString":"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"}},{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","version":"3.1","baseSeverity":"HIGH","baseScore":7.8,"vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-95","lang":"en","description":"Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')","type":"CWE"}]}],"providerMetadata":{"shortName":"VulnCheck","orgId":"83251b91-4cc7-4094-a5c7-464a1b83ea10","dateUpdated":"2026-08-20T13:33:14.674Z"},"datePublic":"2026-08-19T00:00:00.000Z","credits":[{"lang":"en","value":"Arjun Jain","type":"finder"}],"x_generator":{"engine":"vulncheck-endgame"}},"adp":[{"title":"CISA ADP Vulnrichment","references":[{"url":"https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba","tags":["exploit"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-08-20T14:28:52.031389Z","id":"CVE-2026-76833","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-08-20T14:29:17.384Z"}}]}}}