{"id":"CVE-2022-27261","aliases":["CVE-2022-27261","GHSA-w4m6-x6c2-j5c9"],"related":[],"kind":"vulnerability","state":"published","title":"Express-FileUpload Arbitrary File Overwrite","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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).","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de escritura de archivos arbitrarios en Express-FileUpload versión v1.3.1, permite a atacantes subir varios archivos con el mismo nombre, causando una sobreescritura de archivos en el servidor de la aplicación web","source":"nvd"}],"published":"2022-04-12T16:29:01.000Z","modified":"2026-06-17T04:36:37.007Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","score":7.5,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:2.0","vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","score":4.3,"rating":"MEDIUM"}],"cwes":["CWE-434"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.3.1"}],"ecosystem":"npm","package":"express-fileupload","purl":"pkg:npm/express-fileupload","source":"ghsa"},{"ranges":[{"status":"affected","version":"1.3.1"}],"vendor":"express-fileupload_project","product":"express-fileupload","cpe":"cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://www.npmjs.com/package/express-fileupload","tags":["third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.youtube.com/watch?v=3ROHB3ck4tA","tags":["exploit","third-party-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27261","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/312","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/316","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/richardgirges/express-fileupload","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-27261","url":"https://www.cve.org/CVERecord?id=CVE-2022-27261","licence":"CVE Terms of Use","modified":"2024-08-03T05:25:32.699Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-w4m6-x6c2-j5c9","url":"https://github.com/advisories/GHSA-w4m6-x6c2-j5c9","licence":"CC-BY-4.0","modified":"2023-11-08T04:08:58.051Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-27261","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27261","licence":"Public domain","modified":"2026-06-17T04:36:37.007Z"}],"updatedAt":"2026-11-25T22:58:10.578Z","epss":{"score":0.01381,"percentile":0.72933,"date":"2026-12-01T12:00:22.000Z"}}