CVE-2026-76833
published high CVSS 4.0 · 8.4@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| cgauge | — | @cgauge/yaml0 through 0.27.0 · Other versions: affected | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.4 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
- Scenarios
- en: GENERAL
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | en: GENERAL |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| cgauge | @cgauge/yaml | 0 through 0.27.0 (affected · custom)Default: affected | VulnCheck · cna |
Weaknesses
1- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
3- GitHub GIST https://gist.github.com/arjunjaincs/35da3a80b4b16f324f194acec18489ba
- GitHub Repository https://github.com/cgauge/packages
- https://www.vulncheck.com/advisories/cgauge-yaml-npm-package-arbitrary-code-execution-via-eval-yaml-tag
Provider assertions
2VulnCheck · cna
@cgauge/yaml npm Package Arbitrary Code Execution via eval() YAML Tag
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- c3ecfba65d31323a7f744b87f3f494326eb8ca3c6ca437c60b8a3b50cd882ceb
- Ingested
- 23 Sep 2026, 09:32:15 UTC
- Source record
- Official CVE record