CVE-2017-5941: An issue was discovered in the node-serialize package 0.0.4 for Node.js
CVE-2017-5941 is a critical-severity flaw (CVSS 9.8) affecting node-serialize. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked Function Expression (IIFE).
Why this priority
- Critical severity
- EPSS top 1%: very likely to be exploited
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 9.8 (Critical) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 61.0% (top 1%) |
| CISA exploited list | No |
| Weakness | CWE-502 |
| Published | 2017-02-09 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
- Exploit-DB: Node.JS - 'node-serialize' Remote Code Execution
- Exploit-DB: Node.JS - 'node-serialize' Remote Code Execution (2)
- Exploit-DB: Node.JS - 'node-serialize' Remote Code Execution (3)
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2017-5941?
node-serialize: upgrade to newer than 0.0.4. Exact commands for each OS are on this page.
Is CVE-2017-5941 being exploited?
CVE-2017-5941 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2017-5941 affect?
CVE-2017-5941 affects node-serialize. Severity is critical (CVSS 9.8). An issue was discovered in the node-serialize package 0.0.4 for Node.js. Untrusted data passed into the unserialize() function can be exploited to achieve arbitrary code execution by passing a JavaScript Object with an Immediately Invoked F
How urgent is CVE-2017-5941?
Priority 69/100. Critical severity; EPSS top 1%: very likely to be exploited; Public exploit reference; Remotely exploitable, no login, no user action