Skip to main content
CRITICAL

CVE-2022-27140

CVSS v3

9.8

CRITICAL

EPSS Score

2.9 %

exploit probability, as of 2026-09-25

CISA KEV

No

known exploited

Exploitation

—

SSVC status

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

Technical details

Published
2022-04-12

Frequently asked questions

What is CVE-2022-27140?

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

Is CVE-2022-27140 actively exploited?

Active exploitation of CVE-2022-27140 has not been confirmed. Its EPSS score was 2.9% on 2026-09-25, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2022-27140?

CVE-2022-27140 has a CVSS v3 base score of 9.8 (CRITICAL severity).

Is CVE-2022-27140 affecting your environment?

Use isMalicious to check if any of your IPs or domains are associated with this vulnerability's IOCs.

No credit card required · 500 free checks/month · Free API key