{"cve":"CVE-2022-27140","nvd":{"published":"2022-04-12T17:15:09.887","modified":"2026-06-17T04:36:24.150","status":"Modified","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).","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-434"],"references":["https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967","https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644","https://www.youtube.com/watch?v=4XpofFi84KI","https://github.com/richardgirges/express-fileupload/issues/312#issuecomment-1134912967","https://github.com/richardgirges/express-fileupload/issues/329#issuecomment-1387288644"],"products":["express-fileupload_project:express-fileupload"],"source":"nvd","synced_at":"2026-10-19T21:30:03.577988018+00:00"},"epss":{"cve":"CVE-2022-27140","score":0.02861,"percentile":0.86756,"date":"2026-10-31"},"kev":null,"osv":[],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}