CVE-2022-27261 json
Express-FileUpload Arbitrary File Overwrite
published 2022-04-12 4 y ago modified 2026-06-17 4 mo ago also GHSA-w4m6-x6c2-j5c9 , EUVD-2022-1848
- cvss
- 7.5
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.4%
- EPSS 1.4% chance of exploitation in 30 days, percentile 72%
- public exploits
- 0
- none known
Summary
An arbitrary file write vulnerability in Express-FileUpload v1.3.1 allows attackers to upload multiple files with the same name, causing an overwrite of files in the web application server.
Exploit prediction
1.38% chance of exploitation in the next 30 days, higher than 72% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- youtube.com https://www.youtube.com/watch?v=3ROHB3ck4tA referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| NVD | 2.0 | 4.3 | AV:N/AC:M/Au:N/C:N/I:P/A:N |
| GitHub | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | express-fileupload | <=1.3.1 |
no fix listed |
Classification
- Weakness
-
- CWE-434 Unrestricted Upload of File with Dangerous Type
References
-
youtube.com
/watch?v=3ROHB3ck4tA
web, exploit, third-party-advisory
-
npmjs.com
/package/express-fileupload
web, third-party-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2022-27261
advisory
-
github.com
/richardgirges/express-fileupload/issues/312
web
-
github.com
/richardgirges/express-fileupload/issues/316
web
-
github.com
/richardgirges/express-fileupload
package
Sources
- CVE List CVE-2022-27261
- GitHub Advisory GHSA-w4m6-x6c2-j5c9
- NVD CVE-2022-27261
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.