CVE-2026-26974
Improper Control of Generation of Code ('Code Injection') in @tygo-van-den-hurk/slyde
Description
### Impact This is a **remote code execution (RCE) vulnerability**. Node.js automatically imports `**/*.plugin.{js,mjs}` files including those from `node_modules`, so any malicious package with a `.plugin.js` file could execute arbitrary code when installed or required. **All projects using this loading behavior are affected**, especially those installing untrusted packages. ### Patches The issue has been **patched in v0.0.5**. Users should upgrade to **v0.0.5 or later** to mitigate the vulnerability. ### Workarounds - Audit and restrict which packages are installed in `node_modules`. ### References - [CWE-94: Improper Control of Generation of Code](https://cwe.mitre.org/data/definitions/94.html) - GitHub Security Advisories documentation: [https://docs.github.com/en/code-security/security-advisories](https://docs.github.com/en/code-security/security-advisories)
How to fix CVE-2026-26974
To remediate CVE-2026-26974, upgrade the affected package to a fixed version below.
- —upgrade to 0.0.5 or later
Is CVE-2026-26974 being exploited?
Low — EPSS is 0.0%, meaning exploitation activity has not been observed at scale.
Affected packages (1)
- from 0, < 0.0.5
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N |