Authenticated code execution via unbounded WireGuard parsing
Published Apr 20, 2026 · Updated Apr 20, 2026
Stack-based buffer overflow in ASUSTOR ADM allows remote authenticated users to execute code through uploaded WireGuard configurations. The upload_wireguard handler in vpnupload.cgi uses unbounded sscanf("%s") conversions to copy uploaded fields into 300-byte stack buffers, then passes serialized user-controlled data directly to printf(). A valid ADM session is required; missing PIE and stack-canary protections enable code execution as the web server user in 4.1.0 through 4.3.3.RR42 and 5.0.0 through 5.1.2.REO1.
Summary
What happened
Stack-based buffer overflow in ASUSTOR ADM allows remote authenticated users to execute code through uploaded WireGuard configurations. The upload_wireguard handler in vpnupload.cgi uses unbounded sscanf("%s") conversions to copy uploaded fields into 300-byte stack buffers, then passes serialized user-controlled data directly to printf(). A valid ADM session is required; missing PIE and stack-canary protections enable code execution as the web server user in 4.1.0 through 4.3.3.RR42 and 5.0.0 through 5.1.2.REO1.
The record
- CVE
- CVE-2026-6643
- Published
- Apr 20, 2026
- Updated
- Apr 20, 2026
- Vendor
- ASUSTOR Inc.
- Product
- ASUSTOR Data Master
- Classifications
- CWE-121, T1190
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Apr 20, 2026CVE publishedPublication date reported by the CVE source.
- Apr 20, 2026Record 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.
- Affected versionversion=4.1.0 <=4.3.3.RR42
- Affected versionversion=5.0.0 <=5.1.2.REO1
What conditions does exploitation require?
What is affected?
Published CVSS scores
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.
Weakness, pattern, technique
Public exploit references
- ASUSTOR ADM 5.1.2 vpnupload.cgi RCE PoCproof of concept · demonstrated
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
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo