CVE-2022-27140: Express-Fileupload Project Express-Fileupload

Critical severity, CVSS 9.8. EPSS: 2.9% chance of exploitation in the next 30 days.

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

Published 2022-04-12. Last modified 2026-06-17.