CVE-2022-40048
FlatPress vulnerability analysis and mitigation

Overview

A remote code execution (RCE) vulnerability was discovered in Flatpress version 1.2.1, specifically affecting the Upload File function. The vulnerability was identified and reported on September 27, 2022, with CVE-2022-40048 being assigned on September 6, 2022 (CVE Details, NVD).

Technical details

The vulnerability is classified as CWE-434 (Unrestricted Upload of File with Dangerous Type). The CVSS v3.1 base score is 7.2 (High) with the vector string CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H, indicating a high-severity vulnerability that requires high privileges but no user interaction for exploitation (NVD).

Impact

The vulnerability allows a privileged attacker to gain access to the server through the file upload functionality. The download functionality is not properly sandboxed and lacks adequate security controls, which can be exploited by uploading dangerous file types (GitHub Issue).

Mitigation and workarounds

The recommended mitigation strategies include restricting accepted file types, implementing proper file extension checks, and implementing file renaming using random names or hashes after upload (GitHub Issue).

Community reactions

The vulnerability was initially reported to the vendor at hello@flatpress.org but received no response for two months before being publicly disclosed on GitHub (GitHub Issue).

Additional resources


SourceThis report was generated using AI

Related FlatPress vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2024-4023HIGH8.1
  • FlatPressFlatPress
  • cpe:2.3:a:flatpress:flatpress
NoYesMar 20, 2025
CVE-2024-9847HIGH8
  • FlatPressFlatPress
  • cpe:2.3:a:flatpress:flatpress
NoYesMar 20, 2025
CVE-2025-29602MEDIUM6.1
  • FlatPressFlatPress
  • cpe:2.3:a:flatpress:flatpress
NoYesMay 07, 2025
CVE-2024-9699MEDIUM5.4
  • FlatPressFlatPress
  • cpe:2.3:a:flatpress:flatpress
NoYesMar 20, 2025
CVE-2025-44108MEDIUM4.8
  • FlatPressFlatPress
  • cpe:2.3:a:flatpress:flatpress
NoYesMay 19, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management