{"id":"CVE-2022-27140","state":"PUBLISHED","title":"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 p","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).","publishedAt":"2022-04-12T00:00:00.000Z","updatedAt":"2024-08-03T05:18:39.230Z","severity":null,"assigner":"mitre","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["https://www.youtube.com/watch?v=4XpofFi84KI","https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644","https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967"],"weaknesses":[],"ingestedAt":"2026-10-29T19:49:52.117Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/27xxx/CVE-2022-27140.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2022-27140","state":"PUBLISHED","datePublished":"2022-04-12T00:00:00.000Z","dateUpdated":"2024-08-03T05:18:39.230Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2022-03-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"https://www.youtube.com/watch?v=4XpofFi84KI"},{"url":"https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644"},{"url":"https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967"}],"problemTypes":[{"descriptions":[{"type":"text","lang":"en","description":"n/a"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2023-06-21T00:00:00.000Z"},"tags":["disputed"]},"adp":[{"title":"CVE Program Container","references":[{"url":"https://www.youtube.com/watch?v=4XpofFi84KI","tags":["x_transferred"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644","tags":["x_transferred"]},{"url":"https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T05:18:39.230Z"}}]}}}