CVE-2026-14818
Executive Summary
CVE-2026-14818 is a high-severity path traversal vulnerability (CWE-22) in the CLI command used to execute configuration files across multiple Zyxel firewall product lines, including ATP, USG FLEX, USG FLEX 50(W), and USG20(W)-VPN series. An authenticated attacker with administrator privileges can exploit this flaw to execute a crafted malicious configuration file on affected devices, potentially achieving full system compromise. With a CVSS score of 7.2 and an EPSS score of 0.00359 (28.6th percentile), the vulnerability is currently not listed on CISA KEV, but public discussion of the flaw elevates the urgency for affected enterprise networks. The vendor has not yet released a patch, leaving Zyxel firewall deployments in a state of elevated risk.
This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.
No signup required
Technical Analysis
The vulnerability resides in the CLI command handler responsible for executing configuration files on Zyxel firewall devices. The affected firmware versions span multiple product families, all sharing a common codebase for their CLI configuration management subsystem. The flaw is a classic path traversal (directory traversal) vulnerability, categorized as CWE-22, where user-controlled input is not properly sanitized when constructing file paths.
Attack Surface and Mechanism
The vulnerable code path is triggered when an authenticated administrator issues a CLI command that references a configuration file. The CLI parser accepts a file path argument and passes it to the configuration execution engine without adequate validation. An attacker can inject path traversal sequences (e.g., ../, ..%2f, or absolute paths) into the CLI argument to bypass the intended directory restrictions. This allows the attacker to reference files outside the designated configuration directory.
Successful exploitation enables two primary attack vectors:
Malicious Configuration Injection: The attacker uploads or creates a configuration file containing malicious parameters (e.g., modified routing tables, VPN settings, firewall rules, or embedded scripts) and then executes it via the vulnerable CLI command. Because the command is designed to apply configuration files, the injected content is processed with full system privileges.
Arbitrary File Read/Write: By traversing out of the intended directory, an attacker could potentially read sensitive files (e.g.,
/etc/shadow, VPN private keys) or write files to unexpected locations, leading to persistence or privilege escalation.
Authentication Requirement
The vulnerability requires administrator-level credentials. This means the attacker must already have privileged access to the device's management interface (typically HTTPS, SSH, or a console session). However, this should not be underestimated — admin credentials are frequently shared across an organization, reused across devices, or obtainable via credential stuffing attacks against exposed management interfaces. Additionally, in many small-to-medium enterprise deployments, firewall admin accounts use weak or default passwords.
Affected Code Path
While Zyxel has not published a patch or detailed advisory as of this report, the vulnerability pattern suggests insufficient input validation in a C-based CLI function that processes configuration file paths. The function likely uses strcpy, sprintf, or similar unsafe C functions when composing the final file path, without checking for ../ sequences or null-byte injection attempts.
Exploitation Scenarios
The following attack chain describes a realistic exploitation scenario for CVE-2026-14818:
Step 1: Reconnaissance and Target Identification
- The attacker scans for internet-exposed Zyxel firewall management interfaces using Shodan or similar services. Campaigns typically target ports 443 (HTTPS), 22 (SSH), or 4433 (legacy HTTPS) on Zyxel ATP, USG FLEX, and USG20(W)-VPN devices.
- The attacker fingerprints the device firmware version by examining the login page banner, HTTP headers, or device's user-agent string in management responses.
- Targets running firmware versions V4.32 through V5.42 Patch 1 (ATP), V4.50 through V5.42 Patch 1 (USG FLEX), or V4.16 through V5.42 Patch 1 (USG FLEX 50(W)/USG20(W)-VPN) are flagged as vulnerable.
Step 2: Authentication
- The attacker attempts credential stuffing against the admin login endpoint using known corporate credential breaches or default Zyxel credentials.
- Alternatively, the attacker may have obtained admin credentials through a prior phishing campaign or from a harvested password dump that includes network device credentials.
- Upon successful authentication, the attacker establishes an SSH session to the device or accesses the serial console via a compromised jump host.
Step 3: Weaponization and Payload Delivery
- The attacker crafts a malicious configuration file containing a reverse-shell payload, a new admin account, or modified firewall rules to allow covert inbound traffic. The payload could be embedded within a legitimate-looking
.conffile. - Example malicious config section:
system account admin2 password "P@ssw0rd!2026" routing static add default gateway 192.168.1.1 vpn ipsec tunnel add name "backdoor" ... - The attacker transfers this file to the device via an allowed mechanism such as TFTP, FTP, or a management upload function.
Step 4: Vulnerability Trigger and Exploitation
- The attacker invokes the vulnerable CLI command. In Zyxel's CLI, the command may resemble:
execute <path_to_config_file>orload config <path>. - Using path traversal, the attacker references the uploaded file with a traversal sequence to bypass directory restrictions. For example:
execute ../../../../../tmp/evil.confload config ../data/backup/evil.conf
- The command executes the malicious configuration file with root privileges, applying all contained settings.
Step 5: Post-Exploitation
- If the file contains a reverse-shell, the attacker obtains a shell with
rootprivileges on the device. - The attacker pivots into the internal network — firewalls are positioned at network boundaries, making them ideal entry points.
- The attacker extracts VPN credentials, configuration data, and internal network topology.
- The attacker maintains persistence by modifying admin accounts, scheduling malicious jobs, or planting hidden SSH keys.
Impact Assessment
CVSS Score Analysis (7.2 High)
- Attack Vector: Network (AV:N) — The vulnerability is exploitable over the network via the management interface.
- Attack Complexity: Low (AC:L) — No special conditions beyond valid admin credentials.
- Privileges Required: High (PR:H) — Administrator-level authentication is required.
- User Interaction: None (UI:N) — No victim interaction needed.
- Confidentiality, Integrity, Availability Impact: High (C:H/I:H/A:H) — Full compromise of device data, configuration, and operational availability.
Business Impact
Zyxel ATP and USG FLEX series firewalls are enterprise-grade network security appliances deployed at network perimeters, branch offices, and remote site connections. Successful exploitation results in:
- Network Perimeter Compromise: The firewall is the boundary device; compromise grants the attacker a foothold inside the internal network.
- VPN Infrastructure Exposure: VPN tunnels terminating on these devices can be hijacked, granting remote access to internal resources.
- Data Exfiltration: Firewall logs, VPN credentials, and route tables contain sensitive organizational data.
- Availability Degradation: The attacker can modify firewall rules, disrupt connectivity, or use the device in DoS campaigns.
- Regulatory Exposure: For organizations subject to compliance requirements (NIST, GDPR, PCI-DSS), a firewall compromise constitutes a reportable security incident.
Blast Radius
Given the widespread deployment of Zyxel firewalls in SMB and enterprise environments, particularly in Asia-Pacific regions, the potential blast radius includes thousands of exposed management interfaces. Public proof-of-concept discussion increases the likelihood of opportunistic exploitation by mid-level cybercriminal groups and APT actors.
Detection Guidance
Sigma Rule
title: Zyxel Firewall CLI Path Traversal Attempt (CVE-2026-14818)
id: 7d82c1cd-3c8f-4a1e-9a2a-bb8d4e5f6a7b
status: experimental
description: Detects path traversal attempts in Zyxel firewall CLI configuration file execution commands
references:
- https://nvd.nist.gov/vuln/detail/CVE-2026-14818
author: ValtersIT Threat Intelligence Team
date: 2026/04/15
logsource:
category: process_creation
product: linux
detection:
selection:
CommandLine|contains:
- '../'
- '..\'
- '%2e%2e'
- '..%2f'
- '..\\'
keywords:
- 'execute'
- 'config'
- 'load config'
- 'run config'
condition: selection and keywords
timeframe: 5m
level: high
tags:
- attack.tactic:execution
- attack.technique:t1059
- cve.2026-14818
- cwe.22
falsepositives:
- Legitimate admin using backup config restoration from standard directories
YARA Rule
rule Zyxel_CVE_2026_14818_Path_Traversal
{
meta:
author = "ValtersIT Threat Intelligence"
description = "Detects path traversal sequences targeting Zyxel CLI config execution"
date = "2026-04-15"
cve = "CVE-2026-14818"
severity = "high"
strings:
$traversal1 = "../"
$traversal2 = "..\\"
$traversal3 = "%2e%2e%2f"
$traversal4 = "..%2f"
$cli1 = "execute " ascii
$cli2 = "load config" ascii
$cli3 = "run config" ascii
$cli4 = "/sbin/zcli" ascii
$cli5 = "zcfg" ascii
condition:
any of ($traversal*) and any of ($cli*) and filesize > 100 bytes
}
Suricata IDS Rule
alert tcp any any -> $HOME_NET 22 (msg:"Zyxel CVE-2026-14818 SSH CLI Path Traversal Attempt"; flow:established,to_server; content:"execute"; nocase; content:"../"; nocase; distance:0; within:100; classtype:attempted-admin; sid:20261801; rev:1; priority:1; metadata:created_at 2026_04_15, cve CVE-2026-14818;)
alert tcp any any -> $HOME_NET 443 (msg:"Zyxel CVE-2026-14818 HTTPS Path Traversal Attempt"; flow:established,to_server; content:"POST"; http_method; content:"../"; http_client_body; nocase; content:"config"; http_client_body; nocase; distance:0; within:200; classtype:attempted-admin; sid:20261802; rev:1; metadata:created_at 2026_04_15, cve CVE-2026-14818;)
Elastic Detection
sequence by host.name with maxspan=30s
[authentication where event.action == "authentication-success" and user.name == "admin"]
[process where process.name : ("sshd", "bash", "zcli", "cfg") and
process.args : ("*../*", "*..\\*", "*%2e%2e*") and
process.command_line : ("*execute*", "*load config*", "*run config*")]
Splunk SPL Query
index=network sourcetype=linux:syslog OR sourcetype=firewall:zyxel
| search "execute" OR "load config" OR "run config"
| regex _raw = "([\.\./\\]+|%2e%2e|\.\.%2f)"
| stats count by src_ip, dest_ip, dest_port, _time
| where count > 3
| rename src_ip as "Source IP", dest_ip as "Destination IP", dest_port as "Destination Port"
| table _time, Source IP, Destination IP, Destination Port, count
Wazuh OSSEC Rule
<group name="zyxel,cli,path_traversal,cve202614818,">
<rule id="100881" level="14">
<decoded>zcli</decoded>
<regex>\.\./|\.\.\\|%2e%2e</regex>
<regex>execute|load config|run config</regex>
<description>Zyxel CLI path traversal attempt detected (CVE-2026-14818)</description>
<mitre>
<id>T1059</id>
</mitre>
<group>zyxel, attacker,</group>
<info type="link">https://nvd.nist.gov/vuln/detail/CVE-2026-14818</info>
</rule>
</group>
Mitigation & Patch Guidance
Patch Status: UNPATCHED (Confidence 0/4)
No official patch is currently available from Zyxel for CVE-2026-14818 as of the publication of this report. Organizations must implement interim mitigations until a firmware update is released.
1. Immediate Mitigations (Within 24-48 Hours)
- Restrict Management Access: Limit SSH and HTTPS access to the firewall management interface to trusted IP addresses only. Disable WAN-side management access entirely if not required.
- Enforce Strong Authentication: Implement mandatory multi-factor authentication (MFA) for all admin accounts where supported. Enforce complex passwords and periodic rotation.
- Revoke Unused Admin Accounts: Audit all admin accounts and remove any unnecessary or dormant accounts.
- Monitor Configuration Changes: Enable syslog logging and SIEM alerting for all configuration changes and CLI commands on affected devices.
- Disable Remote CLI Access: If business operations permit, temporarily disable SSH and external CLI access, requiring local console for admin tasks.
2. Patch/Upgrade Steps (When Available)
- Monitor Zyxel Security Advisories: Regularly check the Zyxel advisory page (https://www.zyxel.com/support/security_advisories.shtml) for firmware updates addressing CVE-2026-14818.
- Apply Firmware Updates: Once Zyxel releases a patch (likely a version above V5.42 Patch 1), download and apply it via the management interface. Test in a non-production environment first.
- Verify Patch Version: Confirm the firmware version after upgrade matches the version listed in the advisory as fixed.
3. Long-Term Hardening
- Network Segmentation: Isolate management interfaces in a separate management VLAN with strict access control lists (ACLs).
- Regular Vulnerability Scanning: Subscribe to CVE feeds and run authenticated vulnerability scanners against network appliances.
- Perimeter Monitoring: Deploy intrusion detection systems (Suricata/Snort) at the network boundary to capture exploitation attempts.
- Zero-Trust for Admin Access: Implement privilege access management (PAM) solutions for all administrative actions on network devices.
- Regular Firmware Lifecycle Reviews: Replace end-of-life devices that no longer receive security patches.
- Backup and Recovery: Maintain offline configuration backups to facilitate rapid recovery if a device is compromised.
References
- NVD Entry: https://nvd.nist.gov/vuln/detail/CVE-2026-14818 — Official NVD record with description and CVSS vector.
- Zyxel Security Advisory Portal: https://www.zyxel.com/support/security_advisories.shtml — Vendor page to monitor for future patch releases.
- CWE-22 (Path Traversal): https://cwe.mitre.org/data/definitions/22.html — MITRE CWE definition for the vulnerability class.
- CISA Known Exploited Vulnerabilities Catalog: https://www.cisa.gov/known-exploited-vulnerabilities-catalog — Check for CVE-2026-14818 status; currently not listed.
- Zyxel USG/ATP Series Documentation: https://www.zyxel.com/products_services/usg_flex_series.shtml — Product documentation for affected device families.
Threat Actor Campaigns: As of this report date, no confirmed exploit-in-the-wild campaigns have been publicly attributed to CVE-2026-14818. The public proof-of-concept availability, however, historically correlates with increased opportunistic exploitation within 2-4 weeks. Monitoring is strongly advised.
💣 PoC CODE AVAILABLE
Exploit code for this CVE is tracked in our database.
Access poc_code via API Pro.