CVE-2026-30874
highpriority · track · 31EPSS 0.003 · 23 %ileEUUSEPSS · scored 2026-10-27
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.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode⚠ sources disagree · low–high · 0.2–7.8
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (2)
Products and version ranges known to be affected.
also known as (2)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (8)
External citations — patches, advisories, analysis.
- https://access.redhat.com/security/cve/cve-2026-30874cnnvd
- https://github.com/openwrt/openwrt/releasesPatchcnnvd
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934cnnvd
- https://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81cnnvd
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934enisa_euvd
- https://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81enisa_euvd
- https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934PatchVendor Advisorynvd
- https://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81Patchnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan