Sails.js before v1.0.0-46 allows attackers to cause a denial of service with a single…
Priority LOW 36CWE-20Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub.
Summary
Sails.js before v1.0.0-46 allows attackers to cause a denial of service with a single request because there is no error handler in sails-hook-sockets to handle an empty pathname in a WebSocket request.
Why it matters now
EPSS 0.01769 78th percentileScored 2026-11-07
Fix Fixed sails-hook-sockets (npm): 1.5.5
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 |
| — | sails-hook-sockets (npm) | before 1.5.5 | 1.5.5 | Patch available | GHSA-f7f4-hqp2-7prc |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- sails-hook-sockets (npm) Vendor— Affected before 1.5.5 Fixed in 1.5.5 Patch available GHSA-f7f4-hqp2-7prc
Remediation
- Fix · GHSA-f7f4-hqp2-7prc sails-hook-sockets (npm) Fixed in 1.5.5 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2018-21036
- 2026-10-03 Alias added: GHSA-f7f4-hqp2-7prc
References
Patch 2
Advisory 3
More Sailsjs Sails vulnerabilities
- TI-2021-20324 SailsJS Sails.js <=1.4.0 is vulnerable to Prototype Pollution via… CVSS 3.1CRITICAL 9.8
- TI-2023-19884 Sails DoS vulnerability for apps with sockets enabled CVSS 3.1HIGH 7.5
- TI-2016-08590 Improper access control in HackerOne sails node module CVSS 3.0MEDIUM 4.4
Sources
- CVE-2018-21036 · CVE Program
- CVE-2018-21036 · NVD
- FIRST EPSS
- GHSA-f7f4-hqp2-7prc · 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