Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2026-30874

LOW 1.8EPSS 25%

OpenWrt procd PATH Environment Variable Filter Bypass via Incorrect String Comparison Leads to Privilege Escalation

Mitigation

  • Upgrade openwrt to 24.10.6 or later.

Who should check

  • Anyone running openwrt < 24.10.6

Vulnerability facts

Affected
openwrt < 24.10.6
Fixed in
openwrt 24.10.6
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
1.8 (v4.0, CNA)CVSS:4.0/AV:L/AC:L/AT:P/PR:H/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Attack requirements: Present
  • Privileges required: High
  • User interaction: None
  • Confidentiality impact: Low
  • Integrity impact: Low
  • Availability impact: None
  • Confidentiality impact on other systems: None
  • Integrity impact on other systems: None
  • Availability impact on other systems: None
EPSS
0.39% chance of exploitation in 30 days (percentile 25, 2026-11-26)
CWE
CWE-187, CWE-74, CWE-269
Published
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.

Affected and fixed versions

Package / productAffectedFixedSource
openwrt< 24.10.6—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2026-30874. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-30874.md
Affected: openwrt < 24.10.6
Fixed in: openwrt 24.10.6

Steps:
1. Search this machine and project for openwrt: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2026-30874 being exploited?

There is no confirmed exploitation: CVE-2026-30874 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.39% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2026-30874?

Low: CVSS 1.8 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2026-30874?

openwrt < 24.10.6.

Is there a fix for CVE-2026-30874?

Yes. Fixed in openwrt 24.10.6. Upgrade openwrt to 24.10.6 or later.

How do I check if I'm affected by CVE-2026-30874?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors