# CVE-2026-76833: @cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag

- Severity: High 8.4 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.22%, higher than 13% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-20T13:33:14.674Z
- Modified: 2026-10-18T20:10:00.110Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- cgauge @cgauge/yaml: up to 0.27.0

## Every score

- VulnCheck: CVSS:4.0 8.4 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba> (exploit, technical-description)
- <https://github.com/cgauge/packages> (product)
- <https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-76833](https://www.cve.org/CVERecord?id=CVE-2026-76833), CVE Terms of Use, modified 2026-08-20
- NVD: [CVE-2026-76833](https://nvd.nist.gov/vuln/detail/CVE-2026-76833), Public domain, modified 2026-10-18

---

Page: https://cve.day/CVE-2026-76833 · Whole record: https://cve.day/CVE-2026-76833.json · Rebuilt by cve.day 2026-11-25T22:59:34.632Z
