An arbitrary file upload vulnerability in the file upload module of express-fileupload…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-434.
Summary
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).
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:* | 1.3.1 | Vulnerable | Express-fileupload Project |
- cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:* Versions 1.3.1 Vulnerable ·Express-fileupload Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2022-27140
- 2026-10-03 Alias added: GHSA-4fvq-q2rx-hw88
References
More Express-fileupload Project Express-fileupload vulnerabilities
- TI-2020-06219 Prototype pollution in express-fileupload CVSS 3.1CRITICAL 9.8
- TI-2022-10376 An arbitrary file write vulnerability in Express-FileUpload v1.3.1 allows attackers to… CVSS 3.1HIGH 7.5
Sources
- CVE-2022-27140 · CVE Program
- CVE-2022-27140 · NVD
- FIRST EPSS
- GHSA-4fvq-q2rx-hw88 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences