The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote…
Priority MEDIUM 50CWE-74Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · Low
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub.
Summary
The traceroute (aka node-traceroute) package through 1.0.0 for Node.js allows remote command injection via the host parameter. This occurs because the Child.exec() method, which is considered to be not entirely safe, is used. In particular, an OS command can be placed after a newline character.
Why it matters now
EPSS 0.04286 91st percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix No fix listed No fixed version in the sources yet
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | traceroute (npm) | up to 1.0.0 | — | No fix listed | GHSA-8j9v-qhp4-wv55 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- traceroute (npm) Vendor— Affected up to 1.0.0 Fixed in — No fix listed GHSA-8j9v-qhp4-wv55
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:traceroute_project:traceroute:*:*:*:*:*:node.js:*:* | up to 1.0.0 | Vulnerable | Traceroute Project |
- cpe:2.3:a:traceroute_project:traceroute:*:*:*:*:*:node.js:*:* Versions up to 1.0.0 Vulnerable ·Traceroute Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2018-21268
- 2026-10-03 Alias added: GHSA-8j9v-qhp4-wv55
References
Advisory 5
Other 4
- https://medium.com/%40shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3
- https://github.com/jaw187/node-traceroute
- https://medium.com/@shay_62828/shell-command-injection-through-traceroute-npm-package-a4cf7b6553e3
- https://www.op-c.net/2020/06/17/shell-command-injection-through-traceroute-npm-package
Sources
- CVE-2018-21268 · CVE Program
- CVE-2018-21268 · NVD
- FIRST EPSS
- GHSA-8j9v-qhp4-wv55 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences