# CVE-2023-38504: Sails DoS vulnerability for apps with sockets enabled

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.94%, higher than 61% of CVEs (2026-12-01)
- Published: 2023-07-27T17:13:14.000Z
- Modified: 2026-06-17T06:10:36.163Z
- Also known as: GHSA-gpw9-fwm8-7rx7
- Weaknesses: CWE-248
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

Sails is a realtime MVC Framework for Node.js. In Sails apps prior to version 1.5.7,, an attacker can send a virtual request that will cause the node process to crash. This behavior was fixed in Sails v1.5.7. As a workaround, disable the sockets hook and remove the `sails.io.js` client.

(As written by CVE List.)

## Affected

- balderdashy sails: < 1.5.7
- sailsjs sails: before 1.5.7
- sails (npm): before 1.5.7

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H`

## References

- <https://github.com/balderdashy/sails/security/advisories/GHSA-gpw9-fwm8-7rx7> (vendor-advisory, web)
- <https://github.com/balderdashy/sails/pull/7287> (issue-tracking, web)
- <https://github.com/balderdashy/sails/commit/4a023dc5095a4b30fdc8535f705ed34cd22d2f7d> (patch, web)
- <https://github.com/balderdashy/sails/releases/tag/v1.5.7> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-38504> (advisory)
- <https://github.com/balderdashy/sails> (package)

## Sources

- CVE List: [CVE-2023-38504](https://www.cve.org/CVERecord?id=CVE-2023-38504), CVE Terms of Use, modified 2024-10-03
- GitHub Advisory Database: [GHSA-gpw9-fwm8-7rx7](https://github.com/advisories/GHSA-gpw9-fwm8-7rx7), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-38504](https://nvd.nist.gov/vuln/detail/CVE-2023-38504), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2023-38504 · Whole record: https://cve.day/CVE-2023-38504.json · Rebuilt by cve.day 2026-11-25T22:58:26.557Z
