Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-76833: Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection') in cgauge @cgauge/yaml

0
High
VulnerabilityCVE-2026-76833cvecve-2026-76833
Published: 08/20/2026 (08/20/2026, 13:33:14 UTC)
Source: CVE Database V5
Vendor/Project: cgauge
Product: @cgauge/yaml

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.

CVSS v4.0

Score 8.4high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Active
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
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

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 08/20/2026, 14:07:10 UTC

Technical Analysis

CVE-2026-76833 is an arbitrary code execution vulnerability in the @cgauge/yaml npm package. The flaw is caused by the package's handling of a custom !js YAML tag whose construct callback directly invokes eval() on attacker-supplied string values during YAML parsing. This allows an attacker to execute arbitrary JavaScript code within the Node.js runtime environment, granting access to environment variables, filesystem operations, network communication, and subprocess execution. The vulnerability affects any application that parses untrusted YAML input using this package, and no mitigation or safe parsing mode is provided by the library.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary JavaScript code with full Node.js runtime privileges, leading to complete compromise of the host environment. This includes unauthorized access to environment variables, reading and writing files, network communication, and spawning subprocesses. The vulnerability poses a critical risk to applications that process untrusted YAML data with this package.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid parsing untrusted YAML input with the @cgauge/yaml package. Consider using alternative YAML parsers that do not evaluate code or provide safe parsing modes.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-08-19T20:34:00.154Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 6a8706d1acd9273b49b152c8

Added to database: 08/20/2026, 13:53:21 UTC

Last enriched: 08/20/2026, 14:07:10 UTC

Last updated: 08/20/2026, 14:38:09 UTC

Views: 3

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses