{"id":"CVE-2022-27261","aliases":["EUVD-2022-1848","GHSA-w4m6-x6c2-j5c9"],"status":"published","title":"Express-FileUpload Arbitrary File Overwrite","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.","severity":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-09","score":0.01381,"percentile":0.72326,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-434"],"published":"2022-04-12T16:29:01Z","modified":"2026-10-28T02:30:35Z","affected":[{"source":"ghsa","ecosystem":"npm","package":"express-fileupload","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"last_affected":"1.3.1"}]}]},{"source":"osv","ecosystem":"npm","package":"express-fileupload","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.3.1"}]}]}],"products":[{"vendor":"express-fileupload_project","product":"express-fileupload"}],"references":[{"url":"https://www.npmjs.com/package/express-fileupload","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","web"]},{"url":"https://www.youtube.com/watch?v=3ROHB3ck4tA","tags":["x_refsource_MISC","x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27261","tags":["advisory"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/312","tags":["web"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/316","tags":["web"]},{"url":"https://github.com/advisories/GHSA-w4m6-x6c2-j5c9"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27261.json","tags":["advisory"]},{"url":"https://github.com/richardgirges/express-fileupload","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2022-27261","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.","status":"published","published":"2022-04-12T16:29:01Z","modified":"2024-08-03T05:25:32.699Z","updated_at":"2026-11-02T14:34:33.913527Z"}],"euvd":[{"id":"EUVD-2022-1848","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.","status":"published","published":"2022-04-12T16:29:01Z","modified":"2024-08-03T05:25:32Z","updated_at":"2026-11-03T03:25:43.539822Z"}],"ghsa":[{"id":"GHSA-w4m6-x6c2-j5c9","title":"Express-FileUpload Arbitrary File Overwrite","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. This vulnerability is [debated by the package author](https://github.com/richardgirges/express-fileupload/issues/316).","status":"published","published":"2022-04-13T00:00:24Z","modified":"2023-10-19T19:26:35Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:37:08.847568Z"}],"nvd":[{"id":"CVE-2022-27261","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.","status":"published","published":"2022-04-12T17:15:09.973Z","modified":"2026-06-17T04:36:37.007Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:15.414503Z"}],"osv":[{"id":"GHSA-w4m6-x6c2-j5c9","title":"Express-FileUpload Arbitrary File Overwrite","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. This vulnerability is [debated by the package author](https://github.com/richardgirges/express-fileupload/issues/316).","status":"published","published":"2022-04-13T00:00:24Z","modified":"2023-11-08T04:08:58.051087Z","cvss":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"high"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T15:46:58.04805Z"},{"id":"CVE-2022-27261","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.","status":"published","published":"2022-04-12T16:29:01Z","modified":"2026-10-28T02:30:35.108307111Z","updated_at":"2026-11-02T15:44:24.758293Z"}]}}
