CVE-2022-27140

Source
https://cve.org/CVERecord?id=CVE-2022-27140
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27140.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-27140
Published
2022-04-12T00:00:00Z
Modified
2026-07-15T01:49:04.515671283Z
Summary
[none]
Details

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

Database specific
{
    "isDisputed": true,
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/27xxx/CVE-2022-27140.json"
}
References

Affected packages

Git / github.com/richardgirges/express-fileupload

Affected ranges

Type
GIT
Repo
https://github.com/richardgirges/express-fileupload
Events
Database specific
{
    "cpe": "cpe:2.3:a:express-fileupload_project:express-fileupload:1.3.1:*:*:*:*:node.js:*:*",
    "extracted_events": [
        {
            "introduced": "1.3.1"
        },
        {
            "last_affected": "1.3.1"
        }
    ],
    "source": "CPE_STRING"
}

Affected versions

1.*
1.3.1
v1.*
v1.3.1

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-27140.json"