CVE-2022-27261 Express-FileUpload Arbitrary File Overwrite

High 7.5 Published Updated

Attackers can overwrite server files by uploading multiple files with identical names in Express-FileUpload.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2022-27261?

CVE-2022-27261 is a high-severity vulnerability in n/a, published on 12 Apr 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An arbitrary file write vulnerability in Express-FileUpload v1.3.1 allows attackers to upload multiple files with the same name, causing an overwrite of files in the web application server.

Weakness: CWE-434

Which versions are affected by CVE-2022-27261?

2 open source packages ship an affected version, including express-fileupload. It affects 1 product.

PackageAffectedFixed in
express-fileupload npmAll versions to 1.3.1None
express-fileupload npmAll versions to 1.3.1None

Products include Express-Fileupload Project Express-Fileupload.

How do I fix CVE-2022-27261?

Upgrade to a fixed version.

Is CVE-2022-27261 being exploited?

There is no known exploitation of CVE-2022-27261 in the wild and no public exploit code.

Sources

Also known as GHSA-w4m6-x6c2-j5c9, MINI-fvfc-rpp5-982c.

Is CVE-2022-27261 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free