← Vulnerability feed

Vulnerability record · CVE-2025-47812 · published 10 July 2025

CVE-2025-47812: Wing FTP Server null byte handling leads to Lua code injection RCE

Wftpserver · Wing Ftp Server

Wing FTP Server before 7.4.4 mishandles '\0' bytes in its user and admin web interfaces, allowing injection of arbitrary Lua code into user session files. Because the injected code runs with the privileges of the FTP service, this is a remote code execution flaw that can fully compromise the server. It is also reachable through anonymous FTP accounts, widening the pool of potential attackers.

10.0 CVSS 3.1 Critical CISA KEV since 14 Jul 2025 EPSS 93% · top 0.2% CWE-158 · CWE-158
10.0CVSS 3.1 base score
93%EPSS exploitation probability, 30 days
YesIn CISA KEV, fix deadline passed
1Affected product versions listed by NVD
6References, 2 tagged exploit
17 Jun 2026Last modified by NVD

Description

In Wing FTP Server before 7.4.4. the user and admin web interfaces mishandle '\0' bytes, ultimately allowing injection of arbitrary Lua code into user session files. This can be used to execute arbitrary system commands with the privileges of the FTP service (root or SYSTEM by default). This is thus a remote code execution vulnerability that guarantees a total server compromise. This is also exploitable via anonymous FTP accounts.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Automated analysis

Generated by VULONE's analysis model from the NVD record, CISA KEV and EPSS data on 17 September 2026. Confidence: high.

critical priorityCVSS 10.0, KEV listing with confirmed in-the-wild exploitation, and very high EPSS make this an urgent patch-first issue.

What it is

Wing FTP Server before 7.4.4 mishandles '\0' bytes in its user and admin web interfaces, allowing injection of arbitrary Lua code into user session files. Because the injected code runs with the privileges of the FTP service, this is a remote code execution flaw that can fully compromise the server. It is also reachable through anonymous FTP accounts, widening the pool of potential attackers.

Impact

An attacker can execute arbitrary system commands with the privileges of the FTP service, which runs as root or SYSTEM by default, resulting in total server compromise.

Attack surface

Reachable over the network through the user and admin web interfaces, with no authentication or user interaction required per the CVSS vector (AV:N/AC:L/PR:N/UI:N). The description additionally notes exploitability via anonymous FTP accounts.

Exploitation

CISA added this to KEV on 2025-07-14 with a due date of 2025-08-04, and references include exploit write-ups and a report of in-the-wild exploitation. EPSS is 0.92862 (99.8th percentile), indicating very high likelihood of exploitation activity.

What to do

  • Upgrade Wing FTP Server to 7.4.4 or later immediately.
  • If patching is not possible, follow vendor mitigations or discontinue use of the product per CISA BOD 22-01 guidance.
  • Disable or restrict anonymous FTP access and limit exposure of the web interfaces to trusted networks.
  • Run the FTP service under a least-privilege account instead of root or SYSTEM where feasible.
  • Monitor CISA KEV guidance and apply the required action by the 2025-08-04 due date.

Detection

  • Inspect Wing FTP Server session files for unexpected or injected Lua code.
  • Monitor for suspicious child processes spawned by the FTP service, especially command shells.
  • Review web interface and FTP logs for requests containing null bytes or unusual encoding.
  • Alert on anonymous FTP logins followed by file writes or command execution activity.

This assessment is produced automatically and is not human-reviewed. Verify against the vendor advisory before acting on it.

Exploitation in the wild

CISA added CVE-2025-47812 to the Known Exploited Vulnerabilities catalog on 14 July 2025 as "Wing FTP Server Improper Neutralization of Null Byte or NUL Character Vulnerability". Required action: Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable. Federal deadline 4 August 2025.

Affected products

1 vulnerable configurations from NVD's CPE data, grouped by vendor and product.

References

Track CVE-2025-47812 inside VULONE

Watch it alongside the ransomware crews, C2 infrastructure and forum chatter that reference it, query it through the API and pull it into your SIEM over TAXII.

Start free Open in platform

Related vulnerabilities

Same products first, then exploited flaws of the same weakness class.

4.3CVE-2025-47813Wing FTP Server path disclosure via long UID cookieWing FTP Server before 7.4.4 leaks the full local installation path through loginok.html when a long value is supplied in the UID cookie. The flaw is…KEVEPSS 63%analysed8.8CVE-2025-27889Wftpserver wing ftp server vulnerabilityWing FTP Server before 7.4.4 does not properly validate and sanitize the url parameter of the downloadpass.html endpoint, allowing injection of an ar…EPSS 0.44%8.8CVE-2023-37878Wftpserver wing ftp server incorrect default permissions vulnerabilityInsecure default permissions in Wing FTP Server (Admin Web Client) allows for privilege escalation.This issue affects Wing FTP Server: <= 7.2.0.EPSS 0.51%8.8CVE-2023-37881Wftpserver wing ftp server incorrect authorization vulnerabilityWeak access control in Wing FTP Server (Admin Web Client) allows for privilege escalation.This issue affects Wing FTP Server: <= 7.2.0.EPSS 0.56%8.6CVE-2026-44403Wftpserver wing ftp server code injection vulnerabilityWing FTP Server before 8.1.3 contains an authenticated remote code execution vulnerability in the session serialization mechanism that allows authent…EPSS 2.3%8.6CVE-2020-37032Wftpserver wing ftp server os command injection vulnerabilityWing FTP Server 6.3.8 contains a remote code execution vulnerability in its Lua-based web console that allows authenticated users to execute system c…EPSS 1.2%8.5CVE-2019-25267Wftpserver wing ftp server unquoted search path vulnerabilityWing FTP Server 6.0.7 contains an unquoted service path vulnerability that allows local attackers to potentially execute arbitrary code with elevated…EPSS 0.24%7.8CVE-2020-9470Wftpserver wing ftp server incorrect permission assignment vulnerabilityAn issue was discovered in Wing FTP Server 6.2.5 before February 2020. Due to insecure permissions when handling session cookies, a local user may vi…EPSS 0.58%

Source: NIST National Vulnerability Database (record CVE-2025-47812), CISA KEV, FIRST EPSS (scores of 2026-09-24). This page is refreshed as NVD updates the record.