What’s Vulnerable › Vulnerabilities
CVE-2022-27140
- Severity: critical (CVSS 9.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 2.9% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2022-04-12 · updated 2026-06-17
- Weakness: CWE-434
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
References
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644
- https://www.youtube.com/watch?v=4XpofFi84KI
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644
- https://www.youtube.com/watch?v=4XpofFi84KI
Get alerted when CVE-2022-27140 or the next vulnerability affects your stack