CVE-2024-4040Unauthenticated arbitrary file read and remote code execution in CrushFTP
- 9.8CriticalCVSS base score
- 99.5%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- YesKnown exploitedin CISA's KEV since 24 Apr 2024
- 2Public exploitsMetasploit, Nuclei and Exploit-DB
Description
A server side template injection vulnerability in CrushFTP in all versions before 10.7.1 and 11.1.0 on all platforms allows unauthenticated remote attackers to read files from the filesystem outside of the VFS Sandbox, bypass authentication to gain administrative access, and perform remote code execution on the server.
Exploited in the wild
CISA lists this vulnerability in its Known Exploited Vulnerabilities catalog as CrushFTP VFS Sandbox Escape Vulnerability.
- Added
- 24 Apr 2024
- Fix due (US federal)
- 1 May 2024
- Used by ransomware
- Not known
Apply mitigations per vendor instructions or discontinue use of the product if mitigations are unavailable.
ENISA's EU Vulnerability Database lists it as exploited, from CISA's KEV, since 24 Apr 2024.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and a Nuclei template for it. A reference of the record is tagged as an exploit. CISA's SSVC rates its exploitation: it is being exploited.
Show the exploits3
Metasploit modules1 module
- CrushFTP Unauthenticated Arbitrary File Read (Metasploit module) (opens in a new tab)
auxiliary/gather/crushftp_fileread_cve_2024_4040Rank normal
Nuclei templates1 template
- CrushFTP VFS - Sandbox Escape LFR (Nuclei template) (opens in a new tab)
http/cves/2024/CVE-2024-4040.yamlSeverity critical
References tagged exploit1 reference
- https://github.com/airbus-cert/CVE-2024-4040 (opens in a new tab)exploitx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By directcyber
Published
- 2 days later
· 2 days later
Added to CISA KEV
Known exploited in the wild
- 18 months later
· 18 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| directcyberCNA (assigner) | 3.1 | Critical9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVDNVD · Analyzed | 3.1 | Critical10.0 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 99.5% · top 0.1% of all CVEs (12 Nov 2026)
- CISA SSVC
- Exploitation: active · Automatable: yes · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
References
References8
- https://www.crushftp.com/crush11wiki/Wiki.jsp?page=Update (opens in a new tab)vendor-advisoryx_transferred
- https://www.crushftp.com/crush10wiki/Wiki.jsp?page=Update (opens in a new tab)vendor-advisoryx_transferred
- https://www.reddit.com/r/cybersecurity/comments/1c850i2/all_versions_of_crush_ftp_are_vulnerable/ (opens in a new tab)relatedx_transferred
- https://www.bleepingcomputer.com/news/security/crushftp-warns-users-to-patch-exploited-zero-day-immediately/ (opens in a new tab)media-coveragex_transferred
- https://www.reddit.com/r/crowdstrike/comments/1c88788/situational_awareness_20240419_crushftp_virtual/ (opens in a new tab)third-party-advisoryx_transferred
- https://www.rapid7.com/blog/post/2024/04/23/etr-unauthenticated-crushftp-zero-day-enables-complete-server-compromise/ (opens in a new tab)third-party-advisoryx_transferred
- https://github.com/airbus-cert/CVE-2024-4040 (opens in a new tab)exploitx_transferred
- https://www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2024-4040 (opens in a new tab)government-resource
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- CISA KEV catalog (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-32605 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-4040)Record last updated .