{"id":"CVE-2022-27140","aliases":["EUVD-2022-31677","GHSA-4fvq-q2rx-hw88"],"status":"disputed","title":"An arbitrary file upload vulnerability in the file upload module of Express-Fileupload v1.3.1...","description":"An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with \"intentional misusing of the API\": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).","severity":{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-08","score":0.02861,"percentile":0.86846,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-434"],"published":"2022-04-12T00:00:00Z","modified":"2026-10-28T02:30:52Z","products":[{"vendor":"express-fileupload_project","product":"express-fileupload"}],"references":[{"url":"https://www.youtube.com/watch?v=4XpofFi84KI","tags":["x_transferred","Exploit","Third Party Advisory","web"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644","tags":["x_transferred","Third Party Advisory","report"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967","tags":["x_transferred","Third Party Advisory","report"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-27140","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-4fvq-q2rx-hw88"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27140.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2022-27140","description":"An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with \"intentional misusing of the API\": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).","status":"disputed","published":"2022-04-12T00:00:00Z","modified":"2024-08-03T05:18:39.23Z","updated_at":"2026-11-02T14:34:34.250357Z"}],"euvd":[{"id":"EUVD-2022-31677","description":"An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with \"intentional misusing of the API\": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).","status":"published","published":"2022-04-12T00:00:00Z","modified":"2024-08-03T05:18:39Z","updated_at":"2026-11-03T03:25:43.539822Z"}],"ghsa":[{"id":"GHSA-4fvq-q2rx-hw88","title":"An arbitrary file upload vulnerability in the file upload module of Express-Fileupload v1.3.1...","description":"An arbitrary file upload vulnerability in the file upload module of Express-Fileupload v1.3.1 allows attackers to execute arbitrary code via a crafted PHP file.","status":"published","published":"2022-04-13T00:00:24Z","modified":"2023-06-29T05:01:19Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:54:39.908875Z"}],"nvd":[{"id":"CVE-2022-27140","description":"An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with \"intentional misusing of the API\": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).","status":"disputed","published":"2022-04-12T17:15:09.887Z","modified":"2026-06-17T04:36:24.15Z","cvss":[{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"},{"version":"2.0","score":7.5,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:P","level":"high","assessor":"primary"}],"cwes":["CWE-434"],"updated_at":"2026-11-02T14:07:15.414503Z"}],"osv":[{"id":"CVE-2022-27140","description":"An arbitrary file upload vulnerability in the file upload module of express-fileupload 1.3.1 allows attackers to execute arbitrary code via a crafted PHP file. NOTE: the vendor's position is that the observed behavior can only occur with \"intentional misusing of the API\": the express-fileupload middleware is not responsible for an application's business logic (e.g., determining whether or how a file should be renamed).","status":"published","published":"2022-04-12T00:00:00Z","modified":"2026-10-28T02:30:52.940463921Z","updated_at":"2026-11-02T15:44:24.758293Z"}]}}
