CVE-2025-47812Wing FTP Server null byte Lua code injection
CVSS score
10.0
Critical
CVSS 3.1 from mitre.org
Exploit probability (EPSS)
93.9%
93.9% chance of exploitation in the next 30 days, higher than 99.8% of all CVEs.
CISA KEV
Actively exploited
Added to KEV on 14 Jul 2025.
US federal deadline to fix: 4 Aug 2025.
In plain words
An attacker can run system commands on a Wing FTP Server host by injecting Lua code into session files through the web interfaces, which mishandle null bytes. Versions before 7.4.4 are affected, and anonymous FTP accounts can also be used to exploit it. CISA reports active exploitation, and the commands run with root or SYSTEM privileges by default. No vendor patch reference is available in the data, so upgrade to 7.4.4 or later once you can confirm it, and apply vendor mitigations or take the server offline in the meantime.
Official 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.
Source: NVD · CNA: cve@mitre.org
How to fix it, step by step
Treat it as urgent
Attackers are already exploiting this flaw: CISA added it to its Known Exploited Vulnerabilities list on 14 Jul 2025.
US federal agencies must fix it by 4 Aug 2025. It's a sensible deadline for everyone else too.
CISA's full instruction
Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable.
Check whether you're affected
Find every system running wftpserver Wing Ftp Server and compare its version with the affected versions.
Update to a fixed version
- Update Wing Ftp Server to 7.4.4 or later.
If you can't update right away
Apply the workaround or mitigation in the vendor's advisory until you can update:
Check for signs of compromise
Updating closes the flaw but doesn't remove an attacker who got in earlier. Review affected systems for unknown accounts, unusual logins and configuration changes, and use any indicators of compromise the vendor or CISA publish.
Confirm the fix
Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.
Was this useful?
How it can be exploited
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- None
- Scope
- Changed
- Confidentiality
- High
- Integrity
- High
- Availability
- High
Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Affected products
| Affected products | Versions |
|---|---|
| wftpserver Wing Ftp Server | < 7.4.4 |
Weakness
Timeline
- Published:
- Added to CISA KEV:
- Last modified:
Frequently asked questions
Is CVE-2025-47812 being exploited?
Yes. CISA added CVE-2025-47812 to its Known Exploited Vulnerabilities catalog on 14 Jul 2025, which means there is evidence of exploitation in the wild. Its EPSS score estimates a 93.9% probability of exploitation in the next 30 days.
What is the CVSS score of CVE-2025-47812?
CVE-2025-47812 has a CVSS 3.1 base score of 10.0 (critical).
Which versions are affected?
Wftpserver Wing Ftp Server (< 7.4.4)
Is there a patch for CVE-2025-47812?
The official record links to vendor advisories or patches; see “What to do” above.
References
- www.vicarius.io/vsociety/posts/cve-2025-47812-mitigation-script-remote-code-execution-vulnerability-in-wing-ftp-server(Mitigation, Third Party Advisory)
- www.rcesecurity.com/2025/06/what-the-null-wing-ftp-server-rce-cve-2025-47812/(Exploit, Third Party Advisory)
- www.huntress.com/blog/wing-ftp-server-remote-code-execution-cve-2025-47812-exploited-in-wild(Exploit, Third Party Advisory)
- www.vicarius.io/vsociety/posts/cve-2025-47812-detection-script-remote-code-execution-vulnerability-in-wing-ftp-server(Third Party Advisory)
- www.wftpserver.com(Product)
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2025-47812(US Government Resource)
Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.