CVE-2020-24807
HIGH 7.8CVSS 3.1File restriction bypass in socket.io-file
The socket.io-file package through 2.0.31 for Node.js relies on client-side validation of file types, which allows remote attackers to execute arbitrary code by uploading an executable file via a modified JSON name field. NOTE: This vulnerability only affects products that are no longer supported by the maintainer
- Published
- 6 Oct 2020
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-6495-8jvh-f28x
- Sources
- NVDJSONOSV GHSA-6495-8jvh-f28xJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 7.8 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.8 | AV:N/AC:M/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | socket.io-file_project | socket.io-filecpe:2.3:a:socket.io-file_project:socket.io-file:*:*:*:*:*:node.js:*:* |
<= 2.0.31 | |
| OSV | npm | socket.io-file | <= 2.0.31 |
References
- https://github.com/advisories/GHSA-6495-8jvh-f28x · Third Party Advisory
- https://github.com/rico345100/socket.io-file · Product, Third Party Advisory, PACKAGE
- https://www.npmjs.com/advisories/1564 · Third Party Advisory, WEB
- https://www.npmjs.com/package/socket.io-file · Product, Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2020-24807 · ADVISORY
History
- 25 Nov 2026 20:32 UTC · NVD: first stored (published 6 Oct 2020)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 2 Oct 2020)