CWE
434
Advisory Published
Updated

CVE-2022-27140: Malicious File Upload

First published: Tue Apr 12 2022(Updated: )

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

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Express-fileupload=1.3.1
Express-fileupload=1.3.1

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Frequently Asked Questions

  • What is the vulnerability ID for this vulnerability?

    The vulnerability ID for this vulnerability is CVE-2022-27140.

  • What is the severity of CVE-2022-27140?

    The severity of CVE-2022-27140 is critical (9.8).

  • What is the affected software for CVE-2022-27140?

    The affected software for CVE-2022-27140 is express-fileupload 1.3.1.

  • How can an attacker exploit CVE-2022-27140?

    An attacker can exploit CVE-2022-27140 by uploading a crafted PHP file to execute arbitrary code.

  • Is there a fix available for CVE-2022-27140?

    No fix is available for CVE-2022-27140 at the moment. It is recommended to update to a patched version when it becomes available.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203