Home / openwrt / openwrt / CVE-2026-30874
CVE-2026-30874: is it exploited, and which versions of openwrt are affected and fixed?
CVE-2026-30874 is a partial String Comparison vulnerability in openwrt. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 13:08 UTC). Affected: openwrt < 24.10.6 (CVE record by GitHub_M). Fixed in 24.10.6 (NVD). Severity: Low (1.8, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 13:08 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:12 UTC.
What is CVE-2026-30874?
OpenWrt procd PATH Environment Variable Filter Bypass via Incorrect String Comparison Leads to Privilege Escalation
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.
From the CVE record by GitHub_M, last updated March 20, 2026, 18:09 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| openwrt | openwrt | < 24.10.6 |
As the CVE record by GitHub_M states it, last updated March 20, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| openwrt | openwrt | before 24.10.6 | operating system |
NVD analysis (status Analyzed), last modified June 17, 2026, 10:33 UTC.
How severe is CVE-2026-30874?
| Score | Version | Vector | Source |
|---|---|---|---|
| Low 1.8 | CVSS 4.0 | CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N | GitHub_M |
| High 7.8 | CVSS 3.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-30874 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: no; technical impact: partial (CISA ADP, March 20, 2026)
- EPSS
- 0.33% probability of exploitation activity in the next 30 days, percentile 28.6 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-187 Partial String Comparison
- CWE-74 Improper Neutralization of Special Elements in Output Used by a Downstream Component
- CWE-269 Improper Privilege Management
Where are the vendor advisories and references?
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934 x_refsource_CONFIRM
- https://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81 x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- March 6, 2026
- Published
- March 19, 2026, 22:36 UTC
- CVE record updated
- March 20, 2026, 18:09 UTC by GitHub_M
- NVD
- Analyzed, last modified June 17, 2026, 10:33 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:12 UTC; KEV December 3, 2026, 13:08 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect openwrt?
- Oct 12, 2026CVE-2026-53922 openwrt odhcpd: stack buffer overflow
- Jul 15, 2026CVE-2026-62947 openwrt: path traversal (reading or writing files outside the intended folder)
- Jul 15, 2026CVE-2026-62948 openwrt: cross-site scripting (XSS)
- Jul 7, 2026CVE-2026-55490 openwrt: integer underflow
- Mar 19, 2026CVE-2026-32721 openwrt luci: cross-site scripting (XSS)
- Mar 19, 2026CVE-2026-30873 openwrt: memory leak
- Mar 19, 2026CVE-2026-30872 openwrt: stack buffer overflow
- Mar 19, 2026CVE-2026-30871 openwrt: stack buffer overflow
Questions about CVE-2026-30874
Is CVE-2026-30874 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 13:08 UTC. FIRST's EPSS gives it a 0.33% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of openwrt are affected by CVE-2026-30874?
openwrt < 24.10.6, per the CVE record by GitHub_M. The tables above give every range the sources list.
Which version fixes CVE-2026-30874?
24.10.6, per the NVD. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-30874?
Low (1.8, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-30874?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.