CVE-2022-29622
Published: 16 May 2022
Summary
CVE-2022-29622 is a critical-severity Unrestricted Upload of File with Dangerous Type (CWE-434) vulnerability in Formidable Project Formidable. Its CVSS base score is 9.8 (Critical).
Operationally, ranked in the top 3.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
Deeper analysis
CVE-2022-29622 is an arbitrary file upload vulnerability in the formidable library version 3.1.4 that permits attackers to execute arbitrary code through a crafted filename. The issue stems from insufficient validation of uploaded file names, falling under CWE-434, and carries a CVSS 3.1 score of 9.8. Formidable is a widely used Node.js package for parsing multipart form data, including file uploads, and the flaw was reported in the context of applications such as Strapi that integrate the library.
Unauthenticated remote attackers can exploit the vulnerability over the network by submitting a maliciously named file during a file upload operation, resulting in full compromise of confidentiality, integrity, and availability on the affected server. Because the attack requires no user interaction or credentials, it can be launched against any exposed endpoint that processes uploads through the vulnerable version.
References in the GitHub issues for formidable and Strapi, along with related technical discussions, note that the library provides configuration options to alter default file-handling behavior and that some use cases intentionally allow arbitrary file uploads. Strapi explicitly states it does not regard the reported behavior as a valid vulnerability in its own product.
The EPSS score for this CVE rose from lower values after disclosure to a peak of 0.3440 on 2025-12-18 before receding to the current 0.2446, indicating a period of increased exploitation interest that later subsided.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2022-3164
Vulnerability details
An arbitrary file upload vulnerability in formidable v3.1.4 allows attackers to execute arbitrary code via a crafted filename. NOTE: some third parties dispute this issue because the product has common use cases in which uploading arbitrary files is the desired…
more
behavior. Also, there are configuration options in all versions that can change the default behavior of how files are handled. Strapi does not consider this to be a valid vulnerability.
- CWE(s)
Related Threats
No named actor attribution yet. ATT&CK technique mapping in progress for this CVE.
Affected Assets
Mitigating Controls
Likely Mitigating Controls AI
Per-CVE control mapping for this CVE has not run yet; the list below is derived from the weakness types (CWEs) cited in the NVD entry.
Requiring identifiable owners for portable devices reduces the attack surface for unrestricted uploads of dangerous file types via anonymous media.
Dangerous file uploads can be detonated in the chamber to determine malice before any production write or execution occurs.
Prevents unrestricted writing of arbitrary or malicious firmware by keeping hardware write-protect enabled except under tightly controlled manual procedures.
Scans files from external sources on download/open/execute, blocking unrestricted uploads of dangerous file types.