CVE-2024-4040 — Crushftp
CRITICALCVE-2024-4040 is a critical-severity (CVSS 9.8) CWE-1336 vulnerability in crushftp crushftp. It is in CISA's Known Exploited Vulnerabilities catalog (added 2024-04-24) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.
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…
Exploitation Status
Actively exploited in the wild
- Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2024-04-24. Federal agencies were required to remediate by 2024-05-01.
- CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
- A successful exploit gives an attacker total control of the affected component, not partial access.
Exploitation and automatability from CISA (KEV catalog and SSVC triage) for CVE-2024-4040.
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
CVE-2024-4040 by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).
Where this sits among everything scored
Of 394,803 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.
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.
Affected Products
crushftpcrushftpResearch use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
A server side template injection vulnerability in CrushFTP in all versio…
Detection & mitigation playbook
Vendor / applianceDetect
Inventory every crushftp crushftp deployment and check each version against the affected-products list above.
Fix
Apply the crushftp crushftp security patch or hotfix for CVE-2024-4040 on the affected version, following the vendor advisory for your exact build.
Workarounds
Stop passing untrusted input into the interpreter or shell: call the affected binary with an argument array rather than a composed command string, reject anything outside a strict allowlist of expected values, and run the component under an account that cannot reach beyond the work it legitimately does. Alongside that, restrict the management interface to trusted networks and apply the vendor's recommended configuration mitigations.
How to detect CVE-2024-4040
A community-maintained Nuclei template exists for this CVE. You can scan for it directly:
nuclei -id cve-2024-4040 -u https://target- Template
- CrushFTP VFS - Sandbox Escape LFR
- Severity
- critical
- Impact
- Successful exploitation could lead to unauthorized access to sensitive data.
- Remediation
- Apply the vendor-supplied patch or upgrade to the latest version to mitigate CVE-2024-4040.
Template by ProjectDiscovery nuclei-templates (DhiyaneshDK, pussycat0x), MIT licensed. View the full template. Scan only systems you are authorised to test.
Frequently Asked Questions
Is CVE-2024-4040 being exploited in your environment?
Detect and block the exploit chain at execution, on systems you cannot patch yet.