{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2022-27140","published":"2022-04-12T17:15:09.887000Z","last_modified":"2026-06-17T04:36:24.150000Z","status":"Modified","cvss":{"version":"3.1","score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-434"],"cpes":[{"criteria":"cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:*","part":"a","vendor":"express-fileupload_project","product":"express-fileupload","version":"1.3.1"}],"cpes_truncated":false,"vendors":["express-fileupload_project"],"products":["express-fileupload_project/express-fileupload"],"epss":{"score":0.02393,"percentile":0.8474,"date":"2026-11-29","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[],"severity":"critical","priority_score":74,"links":{"html_es":"/es/cve/CVE-2022-27140/","html_en":"/en/cve/CVE-2022-27140/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-27140","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-27140"},"untrusted":{"vendor_name":"Express-fileupload Project","product_name":"Express-fileupload","desc_en":"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).","affected":[],"references":[{"url":"https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967","tags":["Third Party Advisory"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644","tags":["Third Party Advisory"]},{"url":"https://www.youtube.com/watch?v=4XpofFi84KI","tags":["Exploit","Third Party Advisory"]}]}}