# CVE-2022-27261: Express-FileUpload Arbitrary File Overwrite

- 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.38%, higher than 72% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2022-04-12T16:29:01.000Z
- Modified: 2026-06-17T04:36:37.007Z
- Also known as: GHSA-w4m6-x6c2-j5c9
- Weaknesses: CWE-434
- Assigned by: mitre

## Description

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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- express-fileupload (npm): up to 1.3.1
- express-fileupload_project express-fileupload: 1.3.1

## 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 4.3 Medium `AV:N/AC:M/Au:N/C:N/I:P/A:N`

## References

- <https://www.youtube.com/watch?v=3ROHB3ck4tA> (exploit, third-party-advisory, web)
- <https://www.npmjs.com/package/express-fileupload> (third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2022-27261> (advisory)
- <https://github.com/richardgirges/express-fileupload/issues/312> (web)
- <https://github.com/richardgirges/express-fileupload/issues/316> (web)
- <https://github.com/richardgirges/express-fileupload> (package)

## Sources

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

---

Page: https://cve.day/CVE-2022-27261 · Whole record: https://cve.day/CVE-2022-27261.json · Rebuilt by cve.day 2026-11-25T22:58:10.578Z
