{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-34041","id":"CVE-2026-34041","title":"act: Unrestricted set-env and add-path command processing enables environment injection","description":"act is a project which allows for local running of github actions. Prior to version 0.2.86, act unconditionally processes the deprecated ::set-env:: and ::add-path:: workflow commands, which was disabled due to environment injection risks. When a workflow step echoes untrusted data to stdout, an attacker can inject these commands to set arbitrary environment variables or modify the PATH for all su","descriptionLong":"act is a project which allows for local running of github actions. Prior to version 0.2.86, act unconditionally processes the deprecated ::set-env:: and ::add-path:: workflow commands, which was disabled due to environment injection risks. When a workflow step echoes untrusted data to stdout, an attacker can inject these commands to set arbitrary environment variables or modify the PATH for all subsequent steps in the job. This issue has been patched in version 0.2.86.","published":"2026-03-31T01:43:25.074Z","updated":"2026-10-28T02:30:52.824262587Z","reserved":"2026-03-25T15:29:04.744Z","status":"Analyzed","rejected":false,"assigner":"GitHub_M","metric":{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},"metrics":[{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub_M"},{"version":"4.0","score":7.7,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","rating":"high","source":"github.com"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"unrated","source":"OSV"},{"version":"4.0","score":null,"vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N","rating":"high","source":"GitHub"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","rating":"critical","source":"CISA-ADP"}],"rating":"high","products":["nektos act"],"affectedProducts":[{"vendor":"nektos","product":"act","defaultStatus":null,"versions":[{"version":"< 0.2.86","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Go","name":"github.com/nektos/act","purl":"pkg:golang/github.com/nektos/act","ranges":["<0.2.86"],"fixed":["0.2.86"],"advisory":"GHSA-xmgr-9pqc-h5vw"}],"cwes":["CWE-74"],"aliases":["GHSA-xmgr-9pqc-h5vw","GO-2026-4891"],"references":[{"url":"https://github.com/nektos/act/security/advisories/GHSA-xmgr-9pqc-h5vw","tags":["x_refsource_CONFIRM","Exploit","Mitigation","Vendor Advisory","advisory","web"]},{"url":"https://github.com/nektos/act/commit/0c739c8e39c41aa5a07665f732da9cab6df0097a","tags":["x_refsource_MISC","Patch","fix","web"]},{"url":"https://github.com/nektos/act/releases/tag/v0.2.86","tags":["x_refsource_MISC","Product","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/34xxx/CVE-2026-34041.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34041","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-mfwh-5m23-j46w","tags":["advisory","web"]},{"url":"https://github.com/nektos/act","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"total"},"epss":0.00657,"epssPercentile":0.52254,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-34041","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34041","ok":true,"note":"Analyzed"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-34041","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-xmgr-9pqc-h5vw","ok":true,"note":"GHSA-xmgr-9pqc-h5vw"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34041","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}