Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Network-reachable admin interface (AV:N/AC:L) but requires domain administrator privileges (PR:H) with no user interaction; injected code yields full C/I/A impact within the server process, no scope change.
Primary rating from NVD.
CVSS VectorNVD
Lifecycle Timeline
3DescriptionCVE.org
Wing FTP Server 8.1.2 contains an authenticated remote code execution vulnerability in the session serialization mechanism that allows authenticated administrators to inject arbitrary Lua code through the domain admin mydirectory field. Attackers can exploit unsafe serialization of session values into Lua source code without proper escaping of closing delimiters, causing the injected code to be executed when the poisoned session is loaded via loadfile().
AnalysisAI
Authenticated remote code execution in Wing FTP Server 8.1.2 lets a domain administrator inject arbitrary Lua code by abusing the session serialization routine, which writes session values into Lua source without escaping closing delimiters. When the poisoned session is later reloaded through loadfile(), the attacker's Lua executes on the server. Publicly available exploit code exists (Exploit-DB 52589, VulnCheck advisory), but there is no evidence of active exploitation and EPSS is very low (0.09%).
Technical ContextAI
Wing FTP Server is a commercial multi-protocol (FTP/FTPS/SFTP/HTTP) file transfer server whose administrative and scripting layer is built on an embedded Lua interpreter. Session state is persisted by serializing values directly into a generated Lua source file, then re-materializing that file at runtime with loadfile(). Because the serializer does not escape Lua string-closing delimiters (e.g. quotes/long-bracket terminators), attacker-controlled input in the domain admin 'mydirectory' field can break out of its intended string literal and become executable code - the classic CWE-94 (Improper Control of Generation of Code / 'Code Injection') pattern. The affected component is identified by CPE cpe:2.3:a:wing_ftp_server:wing_ftp_server, and the flaw is a design weakness in the serialization/deserialization path rather than a memory-safety bug.
RemediationAI
Upgrade to a fixed Wing FTP Server release once published - no exact patched version number is confirmed in the available data, so consult the vendor version history at https://www.wftpserver.com/serverhistory.htm for the first release after 8.1.2 and the VulnCheck advisory (https://www.vulncheck.com/advisories/wing-ftp-server-authenticated-remote-code-execution-via-session-serialization) for the fixed build before deploying. Until a patched build is applied, reduce exposure by tightly restricting who holds domain administrator accounts and enforcing strong, unique credentials plus MFA on the admin web interface, since exploitation requires admin-level access; additionally, restrict network access to the administration console to trusted management hosts or a VPN so stolen credentials cannot be used remotely, and audit the 'mydirectory' domain admin field and generated session files for anomalous Lua content. These controls limit reachability but do not remove the underlying injection, which only the vendor fix addresses.
More in Wing Ftp Server
View allWing FTP Server before 7.4.4 contains a critical remote code execution vulnerability (CVE-2025-47812, CVSS 10.0) through
loginok.html in Wing FTP Server before 7.4.4 discloses the full local installation path of the application when using a
Wing FTP Server 6.3.8 contains a remote code execution vulnerability in its Lua-based web console that allows authentica
Wing Ftp Server versions up to 6.0.7 contains a vulnerability that allows attackers to potentially execute arbitrary cod
An issue was discovered in Wing FTP Server 6.2.5 before February 2020. Rated high severity (CVSS 7.8), this vulnerabilit
Wing FTP Server v6.2.3 for Linux, macOS, and Solaris sets insecure permissions on installation directories and configura
Wing FTP Server v6.2.3 for Linux, macOS, and Solaris sets insecure permissions on files modified within the HTTP file ma
Multiple cross-site request forgery (CSRF) vulnerabilities in Wing FTP Server before 4.4.7 allow remote attackers to hij
Weak access control in Wing FTP Server (Admin Web Client) allows for privilege escalation.2.0. Rated high severity (CVSS
Insecure default permissions in Wing FTP Server (Admin Web Client) allows for privilege escalation.2.0. Rated high sever
Wing FTP Server versions prior to 6.2.7 contain a cross-site request forgery (CSRF) vulnerability in the web administrat
In Wing FTP Server through 7.4.4, the administrative web interface (listening by default on port 5466) runs as root or S
Same weakness CWE-94 – Code Injection
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-29848
GHSA-ffh5-r5xj-cgmg