CVE-2022-27140
9.8
CRITICAL · CVSS 3.1 · EPSS 2.9% (pctl 86)
In your normal cycle
Critical by CVSS (9.8), but no sign of active exploitation.
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).
Scoring
| CVSS | 9.8 (CRITICAL, v3.1) |
|---|---|
| Vector | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| EPSS | 2.86% — more likely to be exploited than 86% of all CVEs |
| Weakness | CWE-434 |
| On CISA KEV | no |
| Public exploit | none known |
| Published | 2022-04-12 |
| Last modified | 2026-06-17 |
Affected (1)
| Vendor | Product |
|---|---|
| express-fileupload project | express-fileupload |
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
→ the Explorer · watch your stack · NVD