CVE-2026-30874
CVE-2026-30874 is a high-severity vulnerability in Openwrt with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-74.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v4: 1.8
- EPSS exploit prediction: 0% (21st percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2026-13378
- Weakness: CWE-74
- Affected product: Openwrt
- Published:
- Last modified:
Description
OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6, a vulnerability in the hotplug_call function allows an attacker to bypass environment variable filtering and inject an arbitrary PATH variable, potentially leading to privilege escalation. The function is intended to filter out sensitive environment variables like PATH when executing hotplug scripts in /etc/hotplug.d, but a bug using strcmp instead of strncmp causes the filter to compare the full environment string (e.g., PATH=/some/value) against the literal "PATH", so the match always fails. As a result, the PATH variable is never excluded, enabling an attacker to control which binaries are executed by procd-invoked scripts running with elevated privileges. This issue has been fixed in version 24.10.6.
Frequently asked questions
- What is CVE-2026-30874?
- OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6, a vulnerability in the hotplug_call function allows an attacker to bypass environment variable filtering and inject an arbitrary PATH variable, potentially leading to privilege escalation. The function is intended to filter out sensitive environment variables like PATH when executing hotplug scripts in /etc/hotplug.d, but a bug using strcmp instead of strncmp causes the filter to compare the full environment string (e.g., PATH=/some/value) against the literal "PATH", so the match always fails. As a result, the PATH variable is never excluded, enabling an attacker to control which binaries are executed by procd-invoked scripts running with elevated privileges. This issue has been fixed in version 24.10.6.
- How severe is CVE-2026-30874?
- CVE-2026-30874 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2026-30874 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (21st percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2026-30874?
- CVE-2026-30874 affects Openwrt. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2026-30874?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2026-30874 have an EU (EUVD) identifier?
- Yes. CVE-2026-30874 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2026-13378.
- When was CVE-2026-30874 published?
- CVE-2026-30874 was published on 2026-03-19 and last updated on 2026-06-17.
References
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934
- https://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81
Affected products (1)
- cpe:2.3:o:openwrt:openwrt:*:*:*:*:*:*:*:*
More vulnerabilities in Openwrt
- CVE-2026-30872 — Critical (CVSS 9.8): OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6 and 25.12.1, the…
- CVE-2026-30871 — Critical (CVSS 9.8): OpenWrt Project is a Linux operating system targeting embedded devices. In versions prior to 24.10.6 and 25.12.1, the…
- CVE-2025-20683 — Critical (CVSS 9.8): In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local…
- CVE-2025-20682 — Critical (CVSS 9.8): In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local…
- CVE-2025-20681 — Critical (CVSS 9.8): In wlan AP driver, there is a possible out of bounds write due to an incorrect bounds check. This could lead to local…
- CVE-2025-20674 — Critical (CVSS 9.8): In wlan AP driver, there is a possible way to inject arbitrary packet due to a missing permission check. This could…
Other CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities
- CVE-2026-25586 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, a sandbox escape is possible by shadowing hasOwnProperty…
- CVE-2026-25520 — Critical (CVSS 10.0): SandboxJS is a JavaScript sandboxing library. Prior to 0.8.29, The return values of functions aren't wrapped.…
- CVE-2025-20265 — Critical (CVSS 10.0): A vulnerability in the RADIUS subsystem implementation of Cisco Secure Firewall Management Center (FMC) Software could…
- CVE-2025-20337 — Critical (CVSS 10.0): A vulnerability in a specific API of Cisco ISE and Cisco ISE-PIC could allow an unauthenticated, remote attacker to…
- CVE-2025-20281 — Critical (CVSS 10.0): A vulnerability in a specific API of Cisco ISE and Cisco ISE-PIC could allow an unauthenticated, remote attacker to…
- CVE-2024-42472 — Critical (CVSS 10.0): Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious…
Browse all CWE-74 (Improper Neutralization of Special Elements (Injection)) vulnerabilities →