{"vuln_id":"GHSA-jw28-hxcm-j934","aliases":["CVE-2026-30874"],"description":"procd: Command execution via PATH environment variable filter bypass","published_at":"2026-03-19T16:29:14Z","modified_at":"2026-03-19T16:36:55Z","first_seen_at":"2026-11-22T13:40:33.560619Z","severity":"low","severity_source":"ghsa","cvss_score":1.8,"cvss_vector":"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","cwe":[],"vendor":null,"product":null,"kev":{"is_kev":false,"date_added":null,"due_date":null,"ransomware":false},"epss":null,"epss_percentile":null,"nvd_status":null,"enriched_at":null,"links":{"nvd":"https://github.com/advisories/GHSA-jw28-hxcm-j934"},"matched_alias":null,"items":[{"id":12271,"source":{"id":"gh-openwrt","name":"OpenWrt releases + advisories (GitHub openwrt/openwrt tags)"},"title":"GHSA-jw28-hxcm-j934 / CVE-2026-30874: procd: Command execution via PATH environment variable filter bypass","summary":"procd: Command execution via PATH environment variable filter bypass\n\nprocd executes scripts located in /etc/hotplug.d when certain events happen on a\r\nsystem, and can be invoked via the call ubus method. The hotplug_call function is\r\nresponsible for handling these invocations and will perform environment variable filtering\r\nand processing during execution. One of the environment variables that is filtered out is\r\nthe PATH variable, but because of the use of strcmp rather than strncmp, the variable is\r\nnot excluded. Instead of comparing the first four characters of the environment variable to\r\nPATH, the full string is compared, and the variable is therefore not skipped. As such, it may\r\nbe possible to specify an arbitrary PATH variable in order to perform privilege escalation.\r\n\r\n### References\r\nFix: http://github.com/openwrt/procd/commit/e08cdc8562f55b9ac228a21f3f7605a18c522b81\n\nAffected packages: :OpenWrt\nPatched: OpenWrt 24.10.6","url":"https://github.com/openwrt/openwrt/security/advisories/GHSA-jw28-hxcm-j934","published_at":"2026-03-19T16:29:14Z","updated_at":"2026-03-19T16:36:55Z","fetched_at":"2026-11-22T13:40:33.544625Z","severity":"low","cvss_score":1.8,"epss":0.00334,"is_kev":false,"has_exploit":false,"kev_due_date":null,"vendor":"openwrt","product":"OpenWrt","vuln_id":"CVE-2026-30874","vuln_ids":["CVE-2026-30874","GHSA-JW28-HXCM-J934"],"tags":["repo-advisory","","security","repo:openwrt/openwrt"],"cluster_id":11494,"links":{"self":"https://vulnwatch.ve1ve2.com/api/v1/items/12271","html":"https://vulnwatch.ve1ve2.com/item/12271"}}]}