Live threats

All CVEs / Express-fileupload Project

CVE-2022-27140Express-fileupload Project Express-fileupload

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.4%
probability of exploitation in 30 days · percentile 85
Auth required
No
Published
Apr 12, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-434
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Express-fileupload.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected products (CPE)

VendorProductVersions
express-fileupload_projectexpress-fileupload1.3.1

Official sources

References

Links published by the sources. Open them with care.