Critical severity9.8NVD Advisory· Published Apr 12, 2022· Updated Jun 17, 2026
CVE-2022-27140
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).
Affected products
3- express-fileupload/express-fileuploaddescription
- Range: <=1.3.1
- cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:*
Patches
Vulnerability mechanics
References
3- www.youtube.com/watchnvdExploitThird Party Advisory
- github.com/richardgirges/express-fileupload/issues/312nvdThird Party Advisory
- github.com/richardgirges/express-fileupload/issues/329nvdThird Party Advisory
News mentions
0No linked articles in our index yet.