CVE-2024-4040Known exploitationPublic exploitNetwork attack vector

Unauthenticated code execution via unsafe template expansion

Published Apr 22, 2024 · Updated Oct 21, 2025

Server-side template injection in CrushFTP before 10.7.1 and 11.1.0 allows unauthenticated remote attackers to read files and execute code. ServerSessionAJAX.writeResponse passes attacker-controlled API response text to an unsafe variable-expansion routine that evaluates template directives, including file inclusion. An anonymous web session can reach the API, exposing files outside the VFS sandbox and enabling administrator-session theft and server compromise.

CVSS severity10.0
Critical
EPSS probability99.54%
Next 30 days · Nov 1, 2026
Known exploitationReported
Based on sourced intelligence
Hinoki checkNot available
Coverage for this vulnerability

See if you're affected

Explore vulnerability checks for your environment with Hinoki.

Contact us

Summary

What happened

Server-side template injection in CrushFTP before 10.7.1 and 11.1.0 allows unauthenticated remote attackers to read files and execute code. ServerSessionAJAX.writeResponse passes attacker-controlled API response text to an unsafe variable-expansion routine that evaluates template directives, including file inclusion. An anonymous web session can reach the API, exposing files outside the VFS sandbox and enabling administrator-session theft and server compromise.

The record

CVE
CVE-2024-4040
Published
Apr 22, 2024
Updated
Oct 21, 2025
Vendor
CrushFTP
Product
CrushFTP
Classifications
CWE-1336, CAPEC-253, CAPEC-115, T1190
Attack vector
network
Privileges
unauthenticated

Timeline

How it unfolded

  1. Apr 22, 2024CVE publishedPublication date reported by the CVE source.
  2. Oct 21, 2025Record updatedLatest update available in the CVE record.

Exploitability

Present is not the same as exploitable

Compare your product and version with the public record. A matching version still requires validation against your environment.

Is a vulnerable build present?

Compare these published version ranges with your installed build and any vendor patches.

  1. Affected versionversion=10.0 <10.7.1
  2. Affected versionversion=11.0 <11.1.0

What conditions does exploitation require?

Attack vectornetwork
Required privilegesunauthenticated

What is affected?

CrushFTP · CrushFTPversion=10.0 <10.7.1; version=11.0 <11.1.0

Published CVSS scores

9.8DirectCyber CNACVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
10.0NIST NVDCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

CVSS describes severity. EPSS estimates exploitation probability.

Attacks

What attackers are doing with it

Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.

Activity data is delayed. The latest report is Sep 28, 2026.

Daily unique IPsShadowserver observations through Sep 28, 2026. Gaps indicate unavailable data.
Sep 22, 2026Sep 28, 2026
View daily counts
Reporting dayUnique IPs
Sep 22, 2026Unavailable
Sep 23, 2026Unavailable
Sep 24, 2026Unavailable
Sep 25, 2026Unavailable
Sep 26, 2026Unavailable
Sep 27, 2026Unavailable
Sep 28, 20261
Latest reporting daySep 28, 2026
Latest daily unique IPs1
Prior 30-day averageUnavailable
SourceShadowserver honeypots (KEV)
Vectornetwork
Privilegesunauthenticated
Known exploitationReported
Public exploitPublished

Weakness, pattern, technique

CWE-1336Improper Neutralization of Special Elements Used in a Template Engine
CAPEC-253Remote Code Inclusion
CAPEC-115Authentication Bypass
T1190Exploit Public-Facing Application

Public exploit references

Labels summarize the accepted research assessment. They do not indicate a test against your environment.

Technologies

Your stack

See the directory against your own environment.

Your stack

Check the software in your environment

Get started to see how Hinoki identifies affected software and validates exploitability in your environment.

Contact us