CVE DatabaseCVE-2026-120225
한국어 권고문 →
CVE-2026-1202259.1/CRITICALCWE-22CWE-23

Oray Pugongying X5 Pro Router config_restore_ex Path Traversal Remote Code Execution (CVE-2026-120225)

⚡ Jump to Patch
Affected Vendors
oray
Affected Components
pugongying x5 pro
Published Date
2026-11-01
CVSS v3.1
9.1
CRITICAL
EPSS (30d)
0.7%
FIRST.org
CISA KEV
Not Listed

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

Oray Pugongying X5 Pro routers up to version 7.6.1

Impact

Remote authenticated attackers with high privileges can exploit path traversal to overwrite arbitrary files and execute code with root privileges

Mitigation

Restrict access to the management interface immediately and isolate the device from untrusted networks

Affected Products & Version Scope

Oray Pugongying X5 Pro routers running firmware version 7.6.1 and below (No official patch available due to vendor non-responsiveness)

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

As the vendor has not responded to the vulnerability disclosure, no official security patch is currently available. Administrators must restrict management access immediately. Once a patch is released, verify and upgrade the firmware using the following commands:

bash
# Check current firmware version on the device
cat /etc/openwrt_release | grep -i 'DISTRIB_RELEASE'

# Example command to manually apply firmware once released (Placeholder)
# wget -O /tmp/firmware.bin 'http://update.oray.com/pgy/x5pro/latest_patch.bin'
# sysupgrade -v /tmp/firmware.bin

2. Temporary Workaround & Hardening Configuration

Block all external WAN-side access to the router's web administration interface (ports 80, 443, 8080) and SSH service. Implement strict Access Control Lists (ACLs) to allow access only from trusted internal management subnets.

bash
# Block external WAN access to web admin ports using iptables
# Replace eth0 with your actual WAN interface
iptables -A INPUT -i eth0 -p tcp --dport 80 -j DROP
iptables -A INPUT -i eth0 -p tcp --dport 443 -j DROP

# Allow access only from a trusted administrator IP (e.g., 192.168.1.100)
iptables -A INPUT -p tcp -s 192.168.1.100 --dport 80 -j ACCEPT

3. Log Audit & IoC Verification Commands

Inspect web server access logs for suspicious requests targeting the config_restore_ex endpoint containing directory traversal sequences.

bash
# Scan web access logs for path traversal attempts targeting the vulnerable function
LOG_PATH='/var/log/lighttpd/access.log'
if [ -f '$LOG_PATH' ]; then
    echo '[+] Scanning logs for CVE-2026-120225 indicators...'
    grep -E 'config_restore_ex.*(\.\.\/|\.\.%2f)' '$LOG_PATH'
else
    echo '[-] Log file not found. Please verify the web server log path.'
fi
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
NordLayer / Zero-Trust Network Access
Immediately disable WAN-side management access to the router until an official security patch is provided by the vendor.

Stop Exposing VPN Ports to the Internet — Switch to Zero-Trust Access

Eliminate public-facing VPN concentrators and firewall management ports with identity-first Zero-Trust Network Access.

90% Attack Surface Reduction · Hardware-Free

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

A critical vulnerability has been identified in the config_restore_ex function within /etc/openwrt_release on Oray Pugongying X5 Pro routers. The application fails to properly sanitize and validate the filename parameter during configuration restoration operations. This lack of input validation leads to a relative path traversal vulnerability (CWE-22/CWE-23), allowing arbitrary file write and extraction outside the intended directory.

2. Exploitation Mechanics & Attack Scenario

An attacker with administrative access can initiate this exploit remotely. By crafting a malicious configuration restore request where the filename parameter contains directory traversal sequences (e.g., ../../), the attacker can force the system to extract files into sensitive system directories. Overwriting critical startup scripts (such as /etc/rc.local) or cron jobs allows the attacker to achieve arbitrary remote code execution (RCE) with root privileges upon system reboot or task execution.

3. Infrastructure & Business Impact

Since these devices are primarily deployed as SD-WAN routers for enterprise VPN and remote branch connectivity, a compromise of this device poses a severe threat. Attackers can leverage root access to establish a persistent foothold, perform lateral movement within the internal corporate network, sniff transit traffic, or launch secondary internal attacks, severely impacting business operations and data confidentiality.

Official Vendor Advisories & References

NVD Original English Description

A weakness has been identified in Oray Pugongying X5 Pro up to 7.6.1. Affected by this vulnerability is the function config_restore_ex of the file /etc/openwrt_release. This manipulation of the argument filename causes relative path traversal. The attack may be initiated remotely. The exploit has been made available to the public and could be used for attacks. The vendor was contacted early about this disclosure but did not respond in any way.

Frequently Asked SecOps Questions (CVE-2026-120225)

FAQ

Q1. How critical is CVE-2026-120225 and is it actively exploited in the wild?

CVE-2026-120225 is rated CVSS 9.1 (CRITICAL) with a 30-day EPSS exploitation probability of 0.7%. Organizations running affected versions should prioritize patching based on network exposure.

Q2. Which vendors and products are affected by CVE-2026-120225?

Primary impacted vendors include oray across pugongying x5 pro. Scope summary: Oray Pugongying X5 Pro routers running firmware version 7.6.1 and below (No official patch available due to vendor non-responsiveness)

Q3. What temporary mitigations or workarounds exist for CVE-2026-120225 before patching?

[Mitigation] Restrict access to the management interface immediately and isolate the device from untrusted networks Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2026-120225

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (oray)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2026-120225 Oray Pugongying X5 Pro Router config_restore_ex Path Traversal Remote Code Execution (CVE-2026-120225) (CVSS 9.1) - Patch & Workaround | CVE Pulse