CVE-2022-27140
highpriority · track · 40EPSS 0.029 · 87 %ileEUUSEPSS · scored 2026-10-27
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).
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · high–critical · 7.5–9.8
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
- express-fileupload project express-fileupload= 1.3.1nvdUScpe:2.3:a:express-fileupload_project:express-fileupload:*:*:*:*:*:*:*:*
also known as (3)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (10)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2022-27140/cnnvd
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967cnnvd
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644cnnvd
- https://www.youtube.com/watch?v=4XpofFi84KIcnnvd
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967enisa_euvd
- https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644enisa_euvd
- https://www.youtube.com/watch?v=4XpofFi84KIenisa_euvd
- https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967Third Party Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan