Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessObtain domain admin credentials
-
DeliveryLog into Wing FTP admin interface
-
ExploitInject Lua via mydirectory field
-
ExecutionSession serialized to Lua source
-
Persistloadfile() reloads poisoned session
-
ImpactExecute arbitrary code on server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Code injection prevention, sandbox exec
MITRE ATT&CK
2 techniques across 2 tactics: Execution, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires an authenticated domain administrator account on Wing FTP Server 8.1.2 (CVSS PR:H) and the ability to set the domain admin 'mydirectory' field, whose value is unsafely serialized into Lua source and re-executed via loadfile(). No end-user interaction is needed (UI:N) and the vector is network-reachable (AV:N) through the admin interface. The primary limiting factor is the high privilege prerequisite: only accounts already trusted with domain administration can trigger it, so it functions as an admin-to-server-RCE escalation rather than an unauthenticated compromise; it is therefore not automatable (SSVC Automatable: no) and not suited to opportunistic mass exploitation. |
| Impact | Signals are largely consistent and point to a real but privilege-gated issue. The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:H/UI:N, VC:H/VI:H/VA:H) scores 8.6 and reflects network reach and total confidentiality/integrity/availability impact, but critically requires PR:H - a domain administrator account. CISA's SSVC framework aligns: Exploitation 'none' (not observed in the wild), Automatable 'no' (requires authenticated admin context, not mass-scannable), and Technical Impact 'total'. EPSS is very low at 0.09% (25th percentile), and the vulnerability is not in CISA KEV, so despite public exploit code this is not a wormable or opportunistic threat. The honest read: this is a post-authentication privilege-to-code-execution escalation for an already-trusted admin, valuable to an attacker who has phished or otherwise obtained admin credentials, but not a spray-and-pray internet risk. The high CVSS is driven by impact, not by ease of unauthenticated access. |
| Exploit ScenarioDerived | An attacker who has obtained (or been improperly granted) domain administrator access logs into the Wing FTP admin interface and sets the domain admin 'mydirectory' field to a payload containing a Lua string-closing delimiter followed by malicious Lua. When the server serializes and later reloads the session via loadfile(), the injected Lua runs in the server process, giving arbitrary command execution. A public proof-of-concept is available (Exploit-DB 52589), lowering the skill needed to reproduce it. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jul 23, 2026
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%).
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.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
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.
Know when Wing Ftp Server gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
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
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
2DescriptionCVE.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().
Executive ViewAI
Wing FTP Server 8.1.2 contains a remote code execution vulnerability exploitable by domain administrators through malicious Lua code injection during session serialization. Attackers with administrator credentials could execute arbitrary code on the file server, risking unauthorized access to sensitive data and business continuity disruption. Immediate mitigation is critical as functional exploit code is publicly available.
No vendor-released patch identified at time of analysis. Implement: (1) principle of least privilege-restrict domain administrator accounts to FTP-required personnel only; (2) network-level access controls limiting server connections to trusted IP ranges; (3) disable Lua scripting if operations do not require it; (4) enhanced logging and alerting for Lua code execution and session serialization activities; (5) network segmentation isolating affected servers pending alternative solution deployment.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
Remote Code Execution represents the critical moment when an attacker successfully runs arbitrary code on a target system without physical access.
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
Authenticated administrators on Wing FTP Server can escape the server's configured base folder by adding user directorie
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
EUVD-2026-29848
GHSA-ffh5-r5xj-cgmg
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB
VulDB