# CVE-2020-15779: Path Traversal in socket.io-file

- Severity: High 7.5 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- 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): 1.58%, higher than 76% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2020-07-07T19:24:47.000Z
- Modified: 2026-06-17T02:57:10.290Z
- Also known as: GHSA-9h4g-27m8-qjrg
- Weaknesses: CWE-22
- Assigned by: mitre

## Description

A Path Traversal issue was discovered in the socket.io-file package through 2.0.31 for Node.js. The socket.io-file::createFile message uses path.join with ../ in the name option, and the uploadDir and rename options determine the path.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- socket.io-file (npm): up to 2.0.31
- socket.io-file_project socket.io-file: up to 2.0.31

## Every score

- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:P/A:N`

## References

- <https://www.npmjs.com/advisories/1519> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/socket.io-file> (product, third-party-advisory, web)
- <https://github.com/rico345100/socket.io-file> (package, third-party-advisory)
- <https://github.com/advisories/GHSA-9h4g-27m8-qjrg> (advisory, third-party-advisory)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-15779> (advisory)

## Sources

- CVE List: [CVE-2020-15779](https://www.cve.org/CVERecord?id=CVE-2020-15779), CVE Terms of Use, modified 2024-08-04
- GitHub Advisory Database: [GHSA-9h4g-27m8-qjrg](https://github.com/advisories/GHSA-9h4g-27m8-qjrg), CC-BY-4.0, modified 2026-05-04
- NVD: [CVE-2020-15779](https://nvd.nist.gov/vuln/detail/CVE-2020-15779), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2020-15779 · Whole record: https://cve.day/CVE-2020-15779.json · Rebuilt by cve.day 2026-11-25T22:57:53.506Z
